1 | /* |
2 | SPDX-FileCopyrightText: 2001-2010 Christoph Cullmann <cullmann@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #ifndef KATE_MODEMENU_H |
8 | #define |
9 | |
10 | #include <QHash> |
11 | #include <QPointer> |
12 | #include <QStringList> |
13 | |
14 | #include "katedialogs.h" |
15 | #include "katemodemanager.h" |
16 | |
17 | namespace KTextEditor |
18 | { |
19 | class DocumentPrivate; |
20 | } |
21 | |
22 | class : public KActionMenu |
23 | { |
24 | public: |
25 | (const QString &text, QObject *parent) |
26 | : KActionMenu(text, parent) |
27 | { |
28 | init(); |
29 | setPopupMode(QToolButton::InstantPopup); |
30 | } |
31 | |
32 | void (KTextEditor::Document *doc); |
33 | |
34 | private: |
35 | void (); |
36 | |
37 | QPointer<KTextEditor::DocumentPrivate> ; |
38 | QStringList ; |
39 | QStringList ; |
40 | QList<QMenu *> ; |
41 | QActionGroup *; |
42 | |
43 | public: |
44 | void (); |
45 | |
46 | private: |
47 | void (QAction *); |
48 | }; |
49 | |
50 | #endif |
51 | |