KDEUI
#include <kxmlguibuilder.h>
Public Member Functions | |
KXMLGUIBuilder (QWidget *widget) | |
virtual | ~KXMLGUIBuilder () |
KXMLGUIClient * | builderClient () const |
KComponentData | builderComponentData () const |
virtual QStringList | containerTags () const |
virtual QWidget * | createContainer (QWidget *parent, int index, const QDomElement &element, QAction *&containerAction) |
virtual QAction * | createCustomElement (QWidget *parent, int index, const QDomElement &element) |
virtual QStringList | customTags () const |
virtual void | finalizeGUI (KXMLGUIClient *client) |
virtual void | removeContainer (QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction) |
virtual void | removeCustomElement (QWidget *parent, QAction *action) |
void | setBuilderClient (KXMLGUIClient *client) |
void | setBuilderComponentData (const KComponentData &componentData) |
QWidget * | widget () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Implements the creation of the GUI (menubar, menus and toolbars) as requested by the GUI factory.
The virtual methods are mostly for historical reasons, there isn't really a need to derive from KXMLGUIBuilder anymore.
Definition at line 41 of file kxmlguibuilder.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 79 of file kxmlguibuilder.cpp.
|
virtual |
Definition at line 106 of file kxmlguibuilder.cpp.
Member Function Documentation
KXMLGUIClient * KXMLGUIBuilder::builderClient | ( | ) | const |
Definition at line 380 of file kxmlguibuilder.cpp.
KComponentData KXMLGUIBuilder::builderComponentData | ( | ) | const |
Definition at line 392 of file kxmlguibuilder.cpp.
|
virtual |
Definition at line 117 of file kxmlguibuilder.cpp.
|
virtual |
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file.
- Parameters
-
parent The parent for the container index The index where the container should be inserted into the parent container/widget element The element from the DOM tree describing the container (use it to access container specified attributes or child elements) action The action created for this container; used for e.g. passing to removeContainer.
Definition at line 125 of file kxmlguibuilder.cpp.
|
virtual |
Definition at line 289 of file kxmlguibuilder.cpp.
|
virtual |
Definition at line 282 of file kxmlguibuilder.cpp.
|
virtual |
Reimplemented in KXmlGuiWindow.
Definition at line 402 of file kxmlguibuilder.cpp.
|
virtual |
Removes the given (and previously via createContainer ) created container.
Definition at line 243 of file kxmlguibuilder.cpp.
Definition at line 375 of file kxmlguibuilder.cpp.
void KXMLGUIBuilder::setBuilderClient | ( | KXMLGUIClient * | client | ) |
Definition at line 385 of file kxmlguibuilder.cpp.
void KXMLGUIBuilder::setBuilderComponentData | ( | const KComponentData & | componentData | ) |
Definition at line 397 of file kxmlguibuilder.cpp.
|
protectedvirtual |
Definition at line 420 of file kxmlguibuilder.cpp.
QWidget * KXMLGUIBuilder::widget | ( | ) |
Definition at line 112 of file kxmlguibuilder.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.