| 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 |
| 18 | * \inmodule KBookmarksWidgets |
| 19 | * |
| 20 | * \brief A wrapper around KActionMenu to provide a nice constructor for bookmark groups. |
| 21 | */ |
| 22 | class KBOOKMARKSWIDGETS_EXPORT : public KActionMenu, public KBookmarkActionInterface |
| 23 | { |
| 24 | Q_OBJECT |
| 25 | public: |
| 26 | /*! |
| 27 | */ |
| 28 | (const KBookmark &bm, QObject *parent); |
| 29 | |
| 30 | /*! |
| 31 | */ |
| 32 | (const KBookmark &bm, const QString &text, QObject *parent); |
| 33 | () override; |
| 34 | }; |
| 35 | |
| 36 | #endif |
| 37 | |