| 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 KBOOKMARKACTIONINTERFACE_H |
| 10 | #define KBOOKMARKACTIONINTERFACE_H |
| 11 | |
| 12 | #include "kbookmark.h" |
| 13 | |
| 14 | /*! |
| 15 | * \class KBookmarkActionInterface |
| 16 | * \inmodule KBookmarks |
| 17 | * |
| 18 | * \brief The interface to implement by actions and menus which represent a bookmark. |
| 19 | */ |
| 20 | class KBOOKMARKS_EXPORT KBookmarkActionInterface |
| 21 | { |
| 22 | public: |
| 23 | /*! |
| 24 | * |
| 25 | */ |
| 26 | explicit KBookmarkActionInterface(const KBookmark &bk); |
| 27 | virtual ~KBookmarkActionInterface(); |
| 28 | |
| 29 | /*! |
| 30 | * |
| 31 | */ |
| 32 | const KBookmark bookmark() const; |
| 33 | |
| 34 | private: |
| 35 | const KBookmark bm; |
| 36 | }; |
| 37 | |
| 38 | #endif |
| 39 | |