• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

KXMLGUIBuilder Class Reference

Implements the creation of the GUI (menubar, menus and toolbars) as requested by the GUI factory. More...

#include <kxmlguibuilder.h>

Inheritance diagram for KXMLGUIBuilder:
KXmlGuiWindow

List of all members.

Public Member Functions

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)
 KXMLGUIBuilder (QWidget *widget)
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 ()
virtual ~KXMLGUIBuilder ()

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

KXMLGUIBuilder::KXMLGUIBuilder ( QWidget *  widget  )  [explicit]

Definition at line 79 of file kxmlguibuilder.cpp.

KXMLGUIBuilder::~KXMLGUIBuilder (  )  [virtual]

Definition at line 106 of file kxmlguibuilder.cpp.


Member Function Documentation

KXMLGUIClient * KXMLGUIBuilder::builderClient (  )  const

Definition at line 376 of file kxmlguibuilder.cpp.

KComponentData KXMLGUIBuilder::builderComponentData (  )  const

Definition at line 388 of file kxmlguibuilder.cpp.

QStringList KXMLGUIBuilder::containerTags (  )  const [virtual]

Definition at line 117 of file kxmlguibuilder.cpp.

QWidget * KXMLGUIBuilder::createContainer ( QWidget *  parent,
int  index,
const QDomElement &  element,
QAction *&  containerAction 
) [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.

QAction * KXMLGUIBuilder::createCustomElement ( QWidget *  parent,
int  index,
const QDomElement &  element 
) [virtual]

Definition at line 285 of file kxmlguibuilder.cpp.

QStringList KXMLGUIBuilder::customTags (  )  const [virtual]

Definition at line 278 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::finalizeGUI ( KXMLGUIClient *  client  )  [virtual]

Reimplemented in KXmlGuiWindow.

Definition at line 398 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::removeContainer ( QWidget *  container,
QWidget *  parent,
QDomElement &  element,
QAction *  containerAction 
) [virtual]

Removes the given (and previously via createContainer ) created container.

Definition at line 239 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::removeCustomElement ( QWidget *  parent,
QAction *  action 
) [virtual]

Definition at line 371 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::setBuilderClient ( KXMLGUIClient *  client  ) 

Definition at line 381 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::setBuilderComponentData ( const KComponentData &  componentData  ) 

Definition at line 393 of file kxmlguibuilder.cpp.

void KXMLGUIBuilder::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Definition at line 416 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:
  • kxmlguibuilder.h
  • kxmlguibuilder.cpp

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal