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

kdeui

  • kdeui
khelpmenu.h
1 /*
2  * This file is part of the KDE Libraries
3  * Copyright (C) 1999-2000 Espen Sand (espen@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  */
21 
22 #ifndef _KHELPMENU_H_
23 #define _KHELPMENU_H_
24 
25 #include <tqobject.h>
26 #include <tqstring.h>
27 
28 #include <kdelibs_export.h>
29 
30 class KActionCollection;
31 class KPopupMenu;
32 class TQWidget;
33 
34 class KAboutData;
35 class KAboutKDE;
36 class KBugReport;
37 class KDialogBase;
38 class KHelpMenuPrivate;
39 
40 
131 class KDEUI_EXPORT KHelpMenu : public TQObject
132 {
133  Q_OBJECT
134 
135  public:
136  enum MenuId
137  {
138  menuHelpContents = 0,
139  menuWhatsThis = 1,
140  menuAboutApp = 2,
141  menuAboutKDE = 3,
142  menuReportBug = 4,
143  menuSwitchLanguage = 5
144  };
145 
159  KHelpMenu( TQWidget *parent=0, const TQString &aboutAppText=TQString::null,
160  bool showWhatsThis=true );
161 
178  KHelpMenu( TQWidget *parent, const KAboutData *aboutData,
179  bool showWhatsThis=true, KActionCollection *actions = 0 );
180 
186  ~KHelpMenu();
187 
195  KPopupMenu *menu();
196 
197  public slots:
203  void appHelpActivated();
204 
208  void contextHelpActivated();
209 
215  void aboutApplication();
216 
220  void aboutKDE();
221 
225  void reportBug();
226 
230  void switchApplicationLanguage();
231 
232  private slots:
238  void menuDestroyed();
239 
244  void dialogFinished();
245 
251  void timerExpired();
252 
253  signals:
261  void showAboutApplication();
262 
263  private:
264  KPopupMenu *mMenu;
265  KDialogBase *mAboutApp;
266  KAboutKDE *mAboutKDE;
267  KBugReport *mBugReport;
268 
269  TQString mAboutAppText;
270  TQWidget *mParent;
271 
272  bool mShowWhatsThis;
273 
274  protected:
275  virtual void virtual_hook( int id, void* data );
276  private:
277  KHelpMenuPrivate *d;
278 };
279 
280 
281 #endif

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