Okular::GuiInterface
Okular::GuiInterface Class Reference
#include <guiinterface.h>
Inheritance diagram for Okular::GuiInterface:
Public Member Functions | |
GuiInterface (const GuiInterface &)=delete | |
~GuiInterface () override | |
KXMLGUIClient * | guiClient () |
GuiInterface & | operator= (const GuiInterface &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from KXMLGUIClient | |
void | loadStandardsXmlFile () |
virtual void | setComponentName (const QString &componentName, const QString &componentDisplayName) |
virtual void | setDOMDocument (const QDomDocument &document, bool merge=false) |
virtual void | setLocalXMLFile (const QString &file) |
virtual void | setXML (const QString &document, bool merge=false) |
virtual void | setXMLFile (const QString &file, bool merge=false, bool setXMLDoc=true) |
virtual void | stateChanged (const QString &newstate, ReverseStateChange reverse=StateNoReverse) |
KXMLGUIClient (KXMLGUIClient *parent) | |
virtual QAction * | action (const QDomElement &element) const |
QAction * | action (const QString &name) const |
virtual KActionCollection * | actionCollection () const |
QList< KXMLGUIClient * > | childClients () |
KXMLGUIBuilder * | clientBuilder () const |
virtual QString | componentName () const |
virtual QDomDocument | domDocument () const |
KXMLGUIFactory * | factory () const |
void | insertChildClient (KXMLGUIClient *child) |
KXMLGUIClient * | parentClient () const |
void | plugActionList (const QString &name, const QList< QAction * > &actionList) |
void | reloadXML () |
void | removeChildClient (KXMLGUIClient *child) |
void | replaceXMLFile (const QString &xmlfile, const QString &localxmlfile, bool merge=false) |
void | setClientBuilder (KXMLGUIBuilder *builder) |
void | setFactory (KXMLGUIFactory *factory) |
void | setXMLGUIBuildDocument (const QDomDocument &doc) |
void | unplugActionList (const QString &name) |
virtual QString | xmlFile () const |
QDomDocument | xmlguiBuildDocument () const |
Static Protected Member Functions inherited from KXMLGUIClient | |
static QString | standardsXmlFileLocation () |
static QString | findVersionNumber (const QString &xml) |
Detailed Description
Abstract interface for user interface control.
This interface defines an way to interact with the Okular user interface, e.g. adding actions in the menus.
How to use it in a custom Generator:
{
...
};
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
and - of course - implementing its methods.
Definition at line 36 of file guiinterface.h.
Constructor & Destructor Documentation
◆ GuiInterface()
|
inline |
Definition at line 39 of file guiinterface.h.
◆ ~GuiInterface()
|
inlineoverride |
Destroys the gui interface.
Definition at line 46 of file guiinterface.h.
Member Function Documentation
◆ guiClient()
|
inline |
This method requests the XML GUI Client provided by the interface.
Definition at line 56 of file guiinterface.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.