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

tdeui

tdetoolbarhandler.h
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2002 Simon Hausmann <hausmann@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef TDEBARHANDLER_H
00020 #define TDEBARHANDLER_H
00021 
00022 #include <tqobject.h>
00023 #include <tqguardedptr.h>
00024 #include <kxmlguiclient.h>
00025 
00026 class TDEMainWindow;
00027 class TDEToolBar;
00028 
00029 namespace KDEPrivate
00030 {
00031 
00033 class ToolBarHandler : public TQObject,
00034                        public KXMLGUIClient
00035 {
00036     Q_OBJECT
00037 public:
00038     ToolBarHandler( TDEMainWindow *mainWindow, const char *name = 0 );
00039     ToolBarHandler( TDEMainWindow *mainWindow, TQObject *parent, const char *name = 0 );
00040     virtual ~ToolBarHandler();
00041 
00042     TDEAction *toolBarMenuAction();
00043 
00044 public slots:
00045     void setupActions();
00046 
00047 private slots:
00048     void clientAdded( KXMLGUIClient *client );
00049 
00050 private:
00051     void init( TDEMainWindow *mainWindow );
00052     void connectToActionContainers();
00053     void connectToActionContainer( TDEAction *action );
00054     void connectToActionContainer( TQWidget *container );
00055 
00056     struct Data;
00057     Data *d;
00058 
00059     TQGuardedPtr<TDEMainWindow> m_mainWindow;
00060     TQPtrList<TDEAction> m_actions;
00061     TQPtrList<TDEToolBar> m_toolBars;
00062 };
00063 
00064 } // namespace KDEPrivate
00065 
00066 #endif // TDEBARHANDLER_H
00067 
00068 /* vim: et sw=4 ts=4
00069  */

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