KXMLGUIBuilder Class Reference
#include <kxmlguibuilder.h>
Inheritance diagram for KXMLGUIBuilder:
Public Member Functions | |
KXMLGUIBuilder (TQWidget *widget) | |
KXMLGUIClient * | builderClient () const |
void | setBuilderClient (KXMLGUIClient *client) |
TDEInstance * | builderInstance () const |
void | setBuilderInstance (TDEInstance *instance) |
TQWidget * | widget () |
virtual TQStringList | containerTags () const |
virtual TQWidget * | createContainer (TQWidget *parent, int index, const TQDomElement &element, int &id) |
virtual void | removeContainer (TQWidget *container, TQWidget *parent, TQDomElement &element, int id) |
virtual TQStringList | customTags () const |
virtual int | createCustomElement (TQWidget *parent, int index, const TQDomElement &element) |
virtual void | removeCustomElement (TQWidget *parent, int id) |
virtual void | finalizeGUI (KXMLGUIClient *client) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMainWindow for the case where the toplevel widget is a TDEMainWindow.
Other implementations may appear in the future (dialogs for instance)
Definition at line 39 of file kxmlguibuilder.h.
Member Function Documentation
◆ createContainer()
|
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) id The id to be used for this container
Definition at line 114 of file kxmlguibuilder.cpp.
◆ removeContainer()
|
virtual |
Removes the given (and previously via createContainer ) created container.
Definition at line 240 of file kxmlguibuilder.cpp.
The documentation for this class was generated from the following files: