Krita Source Code Documentation
Loading...
Searching...
No Matches
khelpmenu.h
Go to the documentation of this file.
1
/*
2
* This file is part of the KDE Libraries
3
* SPDX-FileCopyrightText: 1999-2000 Espen Sand (espen@kde.org)
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*
7
*/
8
9
#ifndef KHELPMENU_H
10
#define KHELPMENU_H
11
12
#include <kritawidgetutils_export.h>
13
14
#include <QObject>
15
#include <QString>
16
17
class
QMenu;
18
class
QWidget;
19
class
QAction;
20
21
class
KAboutData;
22
class
KisKHelpMenuPrivate
;
23
105
class
KRITAWIDGETUTILS_EXPORT
KisKHelpMenu
:
public
QObject
106
{
107
Q_OBJECT
108
109
public
:
121
explicit
KisKHelpMenu
(QWidget *parent = 0,
const
QString &aboutAppText = QString(),
122
bool
showWhatsThis =
true
);
123
137
KisKHelpMenu
(QWidget *parent,
const
KAboutData &aboutData,
138
bool
showWhatsThis =
true
);
139
145
~KisKHelpMenu
()
override
;
146
158
QMenu *menu();
159
160
enum
MenuId
{
161
menuHelpContents = 0,
162
menuWhatsThis = 1,
163
menuAboutApp = 2,
164
menuAboutKDE = 3,
165
menuReportBug = 4,
166
menuSwitchLanguage = 5
167
};
168
175
QAction *action(MenuId
id
)
const
;
176
177
public
Q_SLOTS:
183
void
appHelpActivated();
184
188
void
contextHelpActivated();
189
199
void
aboutApplication();
200
204
void
aboutKDE();
205
209
void
reportBug();
210
214
void
switchApplicationLanguage();
215
216
private
Q_SLOTS:
222
void
menuDestroyed();
223
228
void
dialogFinished();
229
235
void
timerExpired();
236
237
Q_SIGNALS:
245
void
showAboutApplication
();
246
247
private
:
248
KisKHelpMenuPrivate
*
const
d
;
249
};
250
251
#endif
KisKHelpMenuPrivate
Definition
khelpmenu.cpp:42
KisKHelpMenu
Standard KDE help menu with dialog boxes.
Definition
khelpmenu.h:106
KisKHelpMenu::MenuId
MenuId
Definition
khelpmenu.h:160
KisKHelpMenu::showAboutApplication
void showAboutApplication()
KisKHelpMenu::d
KisKHelpMenuPrivate *const d
Definition
khelpmenu.h:248
libs
widgetutils
xmlgui
khelpmenu.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52