KXmlGui
kxmlguifactory.h
76 static QString readConfigFile(const QString &filename, const QString &componentName = QString());
78 static bool saveConfigFile(const QDomDocument &doc, const QString &filename, const QString &componentName = QString());
112 void plugActionList(KXMLGUIClient *client, const QString &name, const QList<QAction *> &actionList);
121 * Use this method to get access to a container widget with the name specified with @p containerName
122 * and which is owned by the @p client. The container name is specified with a "name" attribute in the
125 * This function is particularly useful for getting hold of a popupmenu defined in an XMLUI file.
131 * @p "this" is XMLGUIClient which owns the popupmenu (e.g. the mainwindow, or the part, or the plugin...)
138 * This method may return nullptr if no container with the given name exists or is not owned by the client.
140 QWidget *container(const QString &containerName, KXMLGUIClient *client, bool useTagName = false);
145 * Use this method to free all memory allocated by the KXMLGUIFactory. This deletes the internal node
148 * something you have to do on your own. So use this method only if you know what you are doing :-)
192 * KStandardAction::keyBindings(guiFactory(), &KXMLGUIFactory::showConfigureShortcutsDialog, actionCollection());
206 KXMLGUI_DEPRECATED_VERSION(5, 84, "Use KXMLGUIFactory::showConfigureShortcutsDialog() instead.")
Q_SLOTSQ_SLOTS
Definition: kxmlguifactory.h:55
Definition: kxmlguiclient.h:39
Q_SIGNALSQ_SIGNALS
Definition: kxmlguibuilder.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:59:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:59:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.