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