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

tdeui

  • tdeui
tdetoolbarhandler.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2002 Simon Hausmann <hausmann@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#ifndef TDEBARHANDLER_H
20#define TDEBARHANDLER_H
21
22#include <tqobject.h>
23#include <tqguardedptr.h>
24#include <kxmlguiclient.h>
25
26class TDEMainWindow;
27class TDEToolBar;
28
29namespace KDEPrivate
30{
31
33class ToolBarHandler : public TQObject,
34 public KXMLGUIClient
35{
36 TQ_OBJECT
37public:
38 ToolBarHandler( TDEMainWindow *mainWindow, const char *name = 0 );
39 ToolBarHandler( TDEMainWindow *mainWindow, TQObject *parent, const char *name = 0 );
40 virtual ~ToolBarHandler();
41
42 TDEAction *toolBarMenuAction();
43
44public slots:
45 void setupActions();
46
47private slots:
48 void clientAdded( KXMLGUIClient *client );
49
50private:
51 void init( TDEMainWindow *mainWindow );
52 void connectToActionContainers();
53 void connectToActionContainer( TDEAction *action );
54 void connectToActionContainer( TQWidget *container );
55
56 struct Data;
57 Data *d;
58
59 TQGuardedPtr<TDEMainWindow> m_mainWindow;
60 TQPtrList<TDEAction> m_actions;
61 TQPtrList<TDEToolBar> m_toolBars;
62};
63
64} // namespace KDEPrivate
65
66#endif // TDEBARHANDLER_H
KDEPrivate::ToolBarHandler
Definition: tdetoolbarhandler.h:35
KXMLGUIClient
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition: kxmlguiclient.h:44
KXMLGUIClient::action
TDEAction * action(const char *name) const
Retrieves an action of the client by name.
Definition: kxmlguiclient.cpp:93
TDEAction
Class to encapsulate user-driven action or event.
Definition: tdeaction.h:203
TDEMainWindow
KDE top level main window
Definition: tdemainwindow.h:99
TDEToolBar
Floatable toolbar with auto resize.
Definition: tdetoolbar.h:105

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.4
This website is maintained by Timothy Pearson.