| 1 | // -*- c-basic-offset:4; indent-tabs-mode:nil -*- |
| 2 | /* |
| 3 | This file is part of the KDE project |
| 4 | SPDX-FileCopyrightText: 2003 Alexander Kellett <lypanov@kde.org> |
| 5 | |
| 6 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 7 | */ |
| 8 | |
| 9 | #ifndef __kbookmarkmenu_p_h__ |
| 10 | #define |
| 11 | |
| 12 | #include <QTreeWidget> |
| 13 | |
| 14 | #include "kbookmark.h" |
| 15 | |
| 16 | class QString; |
| 17 | class KBookmark; |
| 18 | class KBookmarkGroup; |
| 19 | |
| 20 | class KBookmarkTreeItem : public QTreeWidgetItem |
| 21 | { |
| 22 | public: |
| 23 | explicit KBookmarkTreeItem(QTreeWidget *tree); |
| 24 | KBookmarkTreeItem(QTreeWidgetItem *parent, QTreeWidget *tree, const KBookmarkGroup &bk); |
| 25 | ~KBookmarkTreeItem() override; |
| 26 | QString address(); |
| 27 | |
| 28 | private: |
| 29 | QString m_address; |
| 30 | }; |
| 31 | |
| 32 | #endif |
| 33 | |