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

tdeui

  • tdeui
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 <tdelibs_export.h>
27 
28 class KXMLGUIBuilderPrivate;
29 class TQWidget;
30 class TDEInstance;
31 class KXMLGUIClient;
32 
39 class TDEUI_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  TDEInstance *builderInstance() const;
52  /* @internal */
53  void setBuilderInstance( TDEInstance *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
KXMLGUIBuilder
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMa...
Definition: kxmlguibuilder.h:40
KXMLGUIClient
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition: kxmlguiclient.h:44
TDEInstance

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.1
This website is maintained by Timothy Pearson.