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
30
class
TDEActionCollection
;
31
class
TDEPopupMenu
;
32
class
TQWidget;
33
34
class
TDEAboutData
;
35
class
TDEAboutKDE
;
36
class
KBugReport
;
37
class
KDialogBase
;
38
class
KHelpMenuPrivate;
39
40
131
class
TDEUI_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
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
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
tdecore
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdeioslave
http
tdefile
tdeio
tdeioexec
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet