File indexing completed on 2024-09-15 11:54:37
0001 /* 0002 This file is part of the KDE project 0003 SPDX-FileCopyrightText: 1998, 1999 Torben Weis <weis@kde.org> 0004 SPDX-FileCopyrightText: 2006 Daniel Teske <teske@squorn.de> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef KBOOKMARKACTIONMENU_H 0010 #define KBOOKMARKACTIONMENU_H 0011 0012 #include "kbookmarkactioninterface.h" 0013 #include <KActionMenu> 0014 0015 /** 0016 * @class KBookmarkActionMenu kbookmarkactionmenu.h KBookmarkActionMenu 0017 * 0018 * A wrapper around KActionMenu to provide a nice constructor for bookmark groups. 0019 */ 0020 class KBOOKMARKS_EXPORT KBookmarkActionMenu : public KActionMenu, public KBookmarkActionInterface 0021 { 0022 Q_OBJECT 0023 public: 0024 KBookmarkActionMenu(const KBookmark &bm, QObject *parent); 0025 KBookmarkActionMenu(const KBookmark &bm, const QString &text, QObject *parent); 0026 ~KBookmarkActionMenu() override; 0027 }; 0028 0029 #endif