|
Krita Source Code Documentation
|
#include <ktoolbarhandler_p.h>
Inheritance diagram for KDEPrivate::ToolBarHandler:Classes | |
| class | Private |
Public Slots | |
| void | setupActions () |
Public Member Functions | |
| ToolBarHandler (KXmlGuiWindow *mainWindow) | |
| ToolBarHandler (KXmlGuiWindow *mainWindow, QObject *parent) | |
| QAction * | toolBarMenuAction () |
| ~ToolBarHandler () override | |
Public Member Functions inherited from KisKXMLGUIClient | |
| QAction * | action (const char *name) const |
| virtual QAction * | action (const QDomElement &element) const |
| virtual KisKActionCollection * | actionCollection () const |
| void | addStateActionDisabled (const QString &state, const QString &action) |
| void | addStateActionEnabled (const QString &state, const QString &action) |
| void | beginXMLPlug (QWidget *) |
| QList< KisKXMLGUIClient * > | childClients () |
| KisKXMLGUIBuilder * | clientBuilder () const |
| virtual QString | componentName () const |
| virtual QDomDocument | domDocument () const |
| void | endXMLPlug () |
| KisKXMLGUIFactory * | factory () const |
| StateChange | getActionsToChangeForState (const QString &state) |
| void | insertChildClient (KisKXMLGUIClient *child) |
| KisKXMLGUIClient () | |
| KisKXMLGUIClient (KisKXMLGUIClient *parent) | |
| virtual QString | localXMLFile () const |
| KisKXMLGUIClient * | parentClient () const |
| void | plugActionList (const QString &name, const QList< QAction * > &actionList) |
| void | prepareXMLUnplug (QWidget *) |
| void | reloadXML () |
| void | removeChildClient (KisKXMLGUIClient *child) |
| void | replaceXMLFile (const QString &xmlfile, const QString &localxmlfile, bool merge=false) |
| void | setClientBuilder (KisKXMLGUIBuilder *builder) |
| void | setFactory (KisKXMLGUIFactory *factory) |
| void | setXMLGUIBuildDocument (const QDomDocument &doc) |
| void | unplugActionList (const QString &name) |
| virtual QString | xmlFile () const |
| QDomDocument | xmlguiBuildDocument () const |
| virtual | ~KisKXMLGUIClient () |
Private Attributes | |
| Private *const | d |
Additional Inherited Members | |
Public Types inherited from KisKXMLGUIClient | |
| enum | ReverseStateChange { StateNoReverse , StateReverse } |
Static Public Member Functions inherited from KisKXMLGUIClient | |
| static QString | findMostRecentXMLFile (const QStringList &files, QString &doc) |
Protected Member Functions inherited from KisKXMLGUIClient | |
| void | loadStandardsXmlFile () |
| virtual void | setComponentName (const QString &componentName, const QString &componentDisplayName) |
| void | setDOMDocument (const QDomDocument &document, bool merge=false) |
| void | setLocalXMLFile (const QString &file) |
| void | setXML (const QString &document, bool merge=false) |
| 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) |
Static Protected Member Functions inherited from KisKXMLGUIClient | |
| static QString | standardsXmlFileLocation () |
Definition at line 20 of file ktoolbarhandler_p.h.
|
explicit |
Creates a new tool bar handler for the supplied mainWindow.
Definition at line 203 of file ktoolbarhandler.cpp.
References d, and KDEPrivate::ToolBarHandler::Private::init().
| ToolBarHandler::ToolBarHandler | ( | KXmlGuiWindow * | mainWindow, |
| QObject * | parent ) |
Creates a new tool bar handler for the supplied mainWindow and with the supplied parent.
Definition at line 210 of file ktoolbarhandler.cpp.
References d, and KDEPrivate::ToolBarHandler::Private::init().
|
override |
Destroys the tool bar handler.
Definition at line 217 of file ktoolbarhandler.cpp.
References KDEPrivate::ToolBarHandler::Private::actions, and d.
|
slot |
Definition at line 231 of file ktoolbarhandler.cpp.
References KisKXMLGUIClient::actionCollection(), KDEPrivate::ToolBarHandler::Private::actions, KDEPrivate::ToolBarHandler::Private::connectToActionContainers(), d, KisKXMLGUIClient::factory(), KDEPrivate::ToolBarHandler::Private::mainWindow, KisKXMLGUIClient::plugActionList(), KisKActionCollection::readSettings(), KDEPrivate::ToolBarHandler::Private::toolBars, and KisKXMLGUIClient::unplugActionList().
| QAction * ToolBarHandler::toolBarMenuAction | ( | ) |
Returns the action which is responsible for the tool bar menu.
Definition at line 225 of file ktoolbarhandler.cpp.
References KDEPrivate::ToolBarHandler::Private::actions, and d.
|
private |
Definition at line 52 of file ktoolbarhandler_p.h.