KDEUI
kxmlguibuilder.cpp
Go to the documentation of this file.
125 QWidget *KXMLGUIBuilder::createContainer( QWidget *parent, int index, const QDomElement &element, QAction*& containerAction )
243 void KXMLGUIBuilder::removeContainer( QWidget *container, QWidget *parent, QDomElement &element, QAction* containerAction )
289 QAction* KXMLGUIBuilder::createCustomElement( QWidget *parent, int index, const QDomElement &element )
void setText(const QString &text)
QString i18n(const char *text)
virtual QStringList containerTags() const
Definition: kxmlguibuilder.cpp:117
void setSeparator(bool b)
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document...
Definition: kxmlguiclient.h:46
void addAction(QAction *action)
QString attribute(const QString &name, const QString &defValue) const
void setBuilderClient(KXMLGUIClient *client)
Definition: kxmlguibuilder.cpp:385
void setIcon(const QIcon &icon)
void setVisible(bool)
const T & at(int i) const
bool isEmpty() const
const char * name(StandardAction id)
This will return the internal name of a given standard action.
Definition: kstandardaction.cpp:223
virtual const QMetaObject * metaObject() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString i18nc(const char *ctxt, const char *text)
T value(int i) const
QDomElement toElement() const
void insertAction(QAction *before, QAction *action)
int count(const T &value) const
QString text() const
virtual KComponentData componentData() const
Definition: kxmlguiclient.cpp:144
void setObjectName(const QString &name)
virtual QAction * createCustomElement(QWidget *parent, int index, const QDomElement &element)
Definition: kxmlguibuilder.cpp:289
bool isEmpty() const
void hide()
KComponentData builderComponentData() const
Definition: kxmlguibuilder.cpp:392
QString toLower() const
virtual void virtual_hook(int id, void *data)
Definition: kxmlguibuilder.cpp:420
QDomNode namedItem(const QString &name) const
const char * className() const
void addXMLGUIClient(KXMLGUIClient *client)
Adds an XML gui client that uses this toolbar.
Definition: ktoolbar.cpp:864
bool isNull() const
virtual void finalizeGUI(KXMLGUIClient *client)
Definition: kxmlguiwindow.cpp:359
void setBuilderComponentData(const KComponentData &componentData)
Definition: kxmlguibuilder.cpp:397
QWidget * parentWidget() const
void removeAction(QAction *action)
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual void removeCustomElement(QWidget *parent, QAction *action)
Definition: kxmlguibuilder.cpp:375
virtual void removeContainer(QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction)
Removes the given (and previously via createContainer ) created container.
Definition: kxmlguibuilder.cpp:243
void show()
QString tagName() const
KXMLGUIClient * builderClient() const
Definition: kxmlguibuilder.cpp:380
QList< QAction * > actions() const
virtual void finalizeGUI(KXMLGUIClient *client)
Definition: kxmlguibuilder.cpp:402
virtual QWidget * createContainer(QWidget *parent, int index, const QDomElement &element, QAction *&containerAction)
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file...
Definition: kxmlguibuilder.cpp:125
bool authorizeKAction(const QString &action)
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.