class KXMLGUIBuilder
|
Abstract interface for a "GUI builder", used by the GUIFactory
This interface is implemented by KMainWindow for the case where
the toplevel widget is a KMainWindow. More... |
|
|
Public Methods
Protected Methods
Abstract interface for a "GUI builder", used by the GUIFactory
This interface is implemented by KMainWindow for the case where
the toplevel widget is a KMainWindow. Other implementations may appear
in the future (dialogs for instance)
KXMLGUIBuilder ( QWidget *widget )
| KXMLGUIBuilder |
~KXMLGUIBuilder ()
| ~KXMLGUIBuilder |
[virtual]
[const]
KInstance * builderInstance ()
| builderInstance |
[const]
void setBuilderInstance ( KInstance *instance )
| setBuilderInstance |
[const virtual]
[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)
|
containerStateBuffer | A buffer which possibibly contains
previously saved container state
information, return via removeContainer .
|
[virtual]
Removes the given (and previously via createContainer )
created container.
Returns: A buffer containing state information about the deleted
container (like the last position of a toolbar container
for example). The buffer is passed again to
createContainer when the same container is about to be
created again later.
[const virtual]
int createCustomElement ( QWidget *parent, int index, const QDomElement &element )
| createCustomElement |
[virtual]
void removeCustomElement ( QWidget *parent, int id )
| removeCustomElement |
[virtual]
[virtual]
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Generated by: caleb on tcdevel on Tue Jan 28 12:54:10 2003, using kdoc $. |