1 | /* |
2 | This file is part of the KDE project |
3 | SPDX-FileCopyrightText: 1998, 1999 Torben Weis <weis@kde.org> |
4 | SPDX-FileCopyrightText: 2006 Daniel Teske <teske@squorn.de> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.0-or-later |
7 | */ |
8 | |
9 | #ifndef KBOOKMARKACTIONMENU_H |
10 | #define |
11 | |
12 | #include "kbookmarkactioninterface.h" |
13 | #include <KActionMenu> |
14 | #include <kbookmarkswidgets_export.h> |
15 | |
16 | /** |
17 | * @class KBookmarkActionMenu kbookmarkactionmenu.h KBookmarkActionMenu |
18 | * |
19 | * A wrapper around KActionMenu to provide a nice constructor for bookmark groups. |
20 | */ |
21 | class KBOOKMARKSWIDGETS_EXPORT : public KActionMenu, public KBookmarkActionInterface |
22 | { |
23 | Q_OBJECT |
24 | public: |
25 | (const KBookmark &bm, QObject *parent); |
26 | (const KBookmark &bm, const QString &text, QObject *parent); |
27 | () override; |
28 | }; |
29 | |
30 | #endif |
31 | |