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 :-)
Implements the creation of the GUI (menubar, menus and toolbars) as requested by the GUI factory.
Definition kxmlguibuilder.h:34
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:40
KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets...
Definition kxmlguifactory.h:56
void makingChanges(bool)
Emitted when the factory is currently making changes to the GUI, i.e.
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.