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 KBOOKMARKACTIONMENU_H
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 */
21class KBOOKMARKSWIDGETS_EXPORT KBookmarkActionMenu : public KActionMenu, public KBookmarkActionInterface
22{
23 Q_OBJECT
24public:
25 KBookmarkActionMenu(const KBookmark &bm, QObject *parent);
26 KBookmarkActionMenu(const KBookmark &bm, const QString &text, QObject *parent);
27 ~KBookmarkActionMenu() override;
28};
29
30#endif
31

source code of kbookmarks/src/widgets/kbookmarkactionmenu.h