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 | |
![]() | |
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) | |
QAction * | action (const char *name) const |
virtual QAction * | action (const QDomElement &element) 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 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:
and - of course - implementing its methods.
Definition at line 36 of file guiinterface.h.
Constructor & Destructor Documentation
◆ ~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-2023 The KDE developers.
Generated on Mon Jun 5 2023 04:05:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jun 5 2023 04:05:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.