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

tdeui

  • tdeui
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 <tdelibs_export.h>
29
30class TDEActionCollection;
31class TDEPopupMenu;
32class TQWidget;
33
34class TDEAboutData;
35class TDEAboutKDE;
36class KBugReport;
37class KDialogBase;
38class KHelpMenuPrivate;
39
40
131class TDEUI_EXPORT KHelpMenu : public TQObject
132{
133 TQ_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 TDEAboutData *aboutData,
179 bool showWhatsThis=true, TDEActionCollection *actions = 0 );
180
186 ~KHelpMenu();
187
195 TDEPopupMenu *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 TDEPopupMenu *mMenu;
265 KDialogBase *mAboutApp;
266 TDEAboutKDE *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
KBugReport
A dialog box for sending bug reports.
Definition: kbugreport.h:44
KDialogBase
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:192
KHelpMenu
Standard KDE help menu with dialog boxes.
Definition: khelpmenu.h:132
KHelpMenu::showAboutApplication
void showAboutApplication()
This signal is emitted from aboutApplication() if no "about application" string has been defined.
TDEAboutData
TDEAboutKDE
Standard "About KDE" dialog box,.
Definition: tdeabouttde.h:41
TDEActionCollection
A managed set of TDEAction objects.
Definition: tdeactioncollection.h:79
TDEPopupMenu
A menu with title items.
Definition: tdepopupmenu.h:123

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.