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

kdeui

ktoolbarhandler.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 KBARHANDLER_H
00020 #define KBARHANDLER_H
00021 
00022 #include <tqobject.h>
00023 #include <tqguardedptr.h>
00024 #include <kxmlguiclient.h>
00025 
00026 class KMainWindow;
00027 class KToolBar;
00028 
00029 namespace KDEPrivate
00030 {
00031 
00033 class ToolBarHandler : public TQObject,
00034                        public KXMLGUIClient
00035 {
00036     Q_OBJECT
00037 public:
00038     ToolBarHandler( KMainWindow *mainWindow, const char *name = 0 );
00039     ToolBarHandler( KMainWindow *mainWindow, TQObject *parent, const char *name = 0 );
00040     virtual ~ToolBarHandler();
00041 
00042     KAction *toolBarMenuAction();
00043 
00044 public slots:
00045     void setupActions();
00046 
00047 private slots:
00048     void clientAdded( KXMLGUIClient *client );
00049 
00050 private:
00051     void init( KMainWindow *mainWindow );
00052     void connectToActionContainers();
00053     void connectToActionContainer( KAction *action );
00054     void connectToActionContainer( TQWidget *container );
00055 
00056     struct Data;
00057     Data *d;
00058 
00059     TQGuardedPtr<KMainWindow> m_mainWindow;
00060     TQPtrList<KAction> m_actions;
00061     TQPtrList<KToolBar> m_toolBars;
00062 };
00063 
00064 } // namespace KDEPrivate
00065 
00066 #endif // KBARHANDLER_H
00067 
00068 /* vim: et sw=4 ts=4
00069  */

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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |