.TH "KXMLGUIBuilder" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KXMLGUIBuilder \- Abstract interface for a 'GUI builder', used by the GUIFactory This interface is implemented by \fBKMainWindow\fP for the case where the toplevel widget is a \fBKMainWindow\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kxmlguibuilder.h>\fP
.PP
Inherited by \fBKMainWindow\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKXMLGUIBuilder\fP (\fBQWidget\fP *widget)"
.br
.ti -1c
.RI "\fBKXMLGUIClient\fP * \fBbuilderClient\fP () const "
.br
.ti -1c
.RI "void \fBsetBuilderClient\fP (\fBKXMLGUIClient\fP *client)"
.br
.ti -1c
.RI "\fBKInstance\fP * \fBbuilderInstance\fP () const "
.br
.ti -1c
.RI "void \fBsetBuilderInstance\fP (\fBKInstance\fP *instance)"
.br
.ti -1c
.RI "\fBQWidget\fP * \fBwidget\fP ()"
.br
.ti -1c
.RI "virtual \fBQStringList\fP \fBcontainerTags\fP () const "
.br
.ti -1c
.RI "virtual \fBQWidget\fP * \fBcreateContainer\fP (\fBQWidget\fP *parent, int index, const \fBQDomElement\fP &element, int &id)"
.br
.ti -1c
.RI "virtual void \fBremoveContainer\fP (\fBQWidget\fP *container, \fBQWidget\fP *parent, \fBQDomElement\fP &element, int id)"
.br
.ti -1c
.RI "virtual \fBQStringList\fP \fBcustomTags\fP () const "
.br
.ti -1c
.RI "virtual int \fBcreateCustomElement\fP (\fBQWidget\fP *parent, int index, const \fBQDomElement\fP &element)"
.br
.ti -1c
.RI "virtual void \fBremoveCustomElement\fP (\fBQWidget\fP *parent, int id)"
.br
.ti -1c
.RI "virtual void \fBfinalizeGUI\fP (\fBKXMLGUIClient\fP *client)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Abstract interface for a 'GUI builder', used by the GUIFactory This interface is implemented by \fBKMainWindow\fP for the case where the toplevel widget is a \fBKMainWindow\fP. 

Other implementations may appear in the future (dialogs for instance) 
.PP
Definition at line 39 of file kxmlguibuilder.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQWidget\fP * KXMLGUIBuilder::createContainer (\fBQWidget\fP * parent, int index, const \fBQDomElement\fP & element, int & id)\fC [virtual]\fP"
.PP
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP The parent for the container 
.br
\fIindex\fP The index where the container should be inserted into the parent container/widget 
.br
\fIelement\fP The element from the DOM tree describing the container (use it to access container specified attributes or child elements) 
.br
\fIid\fP The id to be used for this container 
.RE
.PP

.PP
Definition at line 114 of file kxmlguibuilder.cpp.
.PP
References QDomElement::attribute(), KGlobal::instance(), QString::isEmpty(), QCString::isEmpty(), KToolBar::loadState(), KToolBar::setXMLGUIClient(), KMenuBar::show(), KMainWindow::statusBar(), QDomElement::text(), and QString::utf8().
.SS "void KXMLGUIBuilder::removeContainer (\fBQWidget\fP * container, \fBQWidget\fP * parent, \fBQDomElement\fP & element, int id)\fC [virtual]\fP"
.PP
Removes the given (and previously via createContainer ) created container. 
.PP
Definition at line 240 of file kxmlguibuilder.cpp.
.PP
References endl(), QMenuBar::hide(), kdWarning(), KStatusBar::removeItem(), and KToolBar::saveState().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
