kate/kate/interfaces/kate
Kate::XMLGUIClient Class Reference
#include <plugin.h>
Inheritance diagram for Kate::XMLGUIClient:
Additional Inherited Members | |
Public Types inherited from KXMLGUIClient | |
enum | ReverseStateChange |
Static Public Member Functions inherited from KXMLGUIClient | |
static QString | findMostRecentXMLFile (const QStringList &files, QString &doc) |
Protected Member Functions inherited from KXMLGUIClient | |
void | loadStandardsXmlFile () |
virtual void | setComponentData (const KComponentData &componentData) |
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) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
The KXMLGUIClient client for Kate application plugins.
The class Kate::XMLGUIClient derives from KXMLGUIClient to work around some bugs:
- we need the component data in order to make the shortcuts work in the shortcut dialog
- usually the component data makes the plugin save in the folder share/apps/your-plugin/<data>, but we want it to be share/apps/kate/plugins/your-plugin/<data>.
The constructor of this class makes sure the component data and the paths are set correctly in order to get the desired behaviour.
- See also
- PluginView, KXMLGUIClient
Constructor & Destructor Documentation
|
explicit |
Definition at line 122 of file plugin.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.