• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

  • kdeui
kxmlguibuilder.h
1 /* This file is part of the KDE project
2  Copyright (C) 2000 Simon Hausmann <hausmann@kde.org>
3  David Faure <faure@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef __kxmlguibuilder_h__
21 #define __kxmlguibuilder_h__
22 
23 #include <tqdom.h>
24 #include <tqstringlist.h>
25 
26 #include <kdelibs_export.h>
27 
28 class KXMLGUIBuilderPrivate;
29 class TQWidget;
30 class KInstance;
31 class KXMLGUIClient;
32 
39 class KDEUI_EXPORT KXMLGUIBuilder
40 {
41  public:
42 
43  KXMLGUIBuilder( TQWidget *widget );
44  virtual ~KXMLGUIBuilder();
45 
46  /* @internal */
47  KXMLGUIClient *builderClient() const;
48  /* @internal */
49  void setBuilderClient( KXMLGUIClient *client );
50  /* @internal */
51  KInstance *builderInstance() const;
52  /* @internal */
53  void setBuilderInstance( KInstance *instance );
54  /* @internal */
55  TQWidget *widget();
56 
57  virtual TQStringList containerTags() const;
58 
71  virtual TQWidget *createContainer( TQWidget *parent, int index,
72  const TQDomElement &element, int &id );
73 
79  virtual void removeContainer( TQWidget *container, TQWidget *parent,
80  TQDomElement &element, int id );
81 
82  virtual TQStringList customTags() const;
83 
84  virtual int createCustomElement( TQWidget *parent, int index, const TQDomElement &element );
85 
86  virtual void removeCustomElement( TQWidget *parent, int id );
87 
88  virtual void finalizeGUI( KXMLGUIClient *client );
89 
90 protected:
91  virtual void virtual_hook( int id, void* data );
92 private:
93  KXMLGUIBuilderPrivate *d;
94 };
95 
96 #endif
KXMLGUIClient
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document...
Definition: kxmlguiclient.h:43
KXMLGUIBuilder
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by KMain...
Definition: kxmlguibuilder.h:39
KInstance

kdeui

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

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |