KDEUI
kxmlguifactory.h
Go to the documentation of this file.
124 void plugActionList( KXMLGUIClient *client, const QString &name, const QList<QAction*> &actionList );
152 QWidget *container( const QString &containerName, KXMLGUIClient *client, bool useTagName = false );
Implements the creation of the GUI (menubar, menus and toolbars) as requested by the GUI factory.
Definition kxmlguibuilder.h:42
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:47
KXMLGUIFactory(KXMLGUIBuilder *builder, QObject *parent=0)
Constructs a KXMLGUIFactory.
Definition kxmlguifactory.cpp:190
static QString readConfigFile(const QString &filename, const KComponentData &componentData=KComponentData())
Definition kxmlguifactory.cpp:117
void plugActionList(KXMLGUIClient *client, const QString &name, const QList< QAction * > &actionList)
Definition kxmlguifactory.cpp:564
QList< QWidget * > containers(const QString &tagName)
Definition kxmlguifactory.cpp:491
QList< KXMLGUIClient * > clients() const
Returns a list of all clients currently added to this factory.
Definition kxmlguifactory.cpp:469
void removeClient(KXMLGUIClient *client)
Removes the GUI described by the client, by unplugging all provided actions and removing all owned co...
Definition kxmlguifactory.cpp:411
void addClient(KXMLGUIClient *client)
Creates the GUI described by the QDomDocument of the client, using the client's actions,...
Definition kxmlguifactory.cpp:210
static QDomElement actionPropertiesElement(QDomDocument &doc)
Definition kxmlguifactory.cpp:769
int configureShortcuts(bool bAllowLetterShortcuts=true, bool bSaveSettings=true)
Show a standard configure shortcut for every action in this factory.
Definition kxmlguifactory.cpp:755
void reset()
Use this method to free all memory allocated by the KXMLGUIFactory.
Definition kxmlguifactory.cpp:496
void unplugActionList(KXMLGUIClient *client, const QString &name)
Definition kxmlguifactory.cpp:583
void clientRemoved(KXMLGUIClient *client)
void clientAdded(KXMLGUIClient *client)
static QDomElement findActionByName(QDomElement &elem, const QString &sName, bool create)
Definition kxmlguifactory.cpp:783
void makingChanges(bool)
Emitted when the factory is currently making changes to the GUI, i.e.
void refreshActionProperties()
Use this method to reset and reread action properties (shortcuts, etc.) for all actions.
Definition kxmlguifactory.cpp:311
static bool saveConfigFile(const QDomDocument &doc, const QString &filename, const KComponentData &componentData=KComponentData())
Definition kxmlguifactory.cpp:142
QWidget * container(const QString &containerName, KXMLGUIClient *client, bool useTagName=false)
Use this method to get access to a container widget with the name specified with containerName and wh...
Definition kxmlguifactory.cpp:474
void changeShortcutScheme(const QString &scheme)
Definition kxmlguifactory.cpp:397
void resetContainer(const QString &containerName, bool useTagName=false)
Use this method to free all memory allocated by the KXMLGUIFactory for a specific container,...
Definition kxmlguifactory.cpp:503
Definition kxmlguifactory.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.