diff options
Diffstat (limited to 'lib/bookmarks/bookmarkitem.h')
-rw-r--r-- | lib/bookmarks/bookmarkitem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bookmarks/bookmarkitem.h b/lib/bookmarks/bookmarkitem.h index 37a9b5d..fd5e67a 100644 --- a/lib/bookmarks/bookmarkitem.h +++ b/lib/bookmarks/bookmarkitem.h @@ -17,8 +17,8 @@ class BookmarkItem { public: enum Type { - Folder, - Bookmark, + Folder = 0, + Bookmark = 1, }; enum Fields { @@ -39,7 +39,7 @@ public: bool removeChildAt(int index, int count = 1); BookmarkItem *takeChild(int index, BookmarkItem *newParent); - BookmarkItem *child(int index); + BookmarkItem *child(int index) const; int childCount() const; QVariant data(int column) const; @@ -65,4 +65,4 @@ private: QVector<QVariant> m_data; }; -#endif //SMOLBOTE_BOOKMARKITEM_H +#endif // SMOLBOTE_BOOKMARKITEM_H |