aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/xbel.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-24 14:55:35 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-24 14:55:35 +0200
commit579c713959c150a276f42b3f69ccfb89d9e6eebb (patch)
tree7c4f2082e2ff5dcdee7fcfe7887e7bbc82ec8bf6 /lib/bookmarks/xbel.h
parentAdd bookmark auto-save (5min) (diff)
downloadsmolbote-579c713959c150a276f42b3f69ccfb89d9e6eebb.tar.xz
Bookmarks: add BookmarkItem and BookmarkModel
- read-only xbel - only enabled in debug build
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r--lib/bookmarks/xbel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h
index ecc185a..e285b70 100644
--- a/lib/bookmarks/xbel.h
+++ b/lib/bookmarks/xbel.h
@@ -12,12 +12,15 @@
#include "bookmarksview.h"
#include <QString>
#include <QXmlStreamReader>
+#include "bookmarkmodel.h"
+class BookmarkModel;
class XbelReader
{
public:
explicit XbelReader(QIODevice *file);
void read(BookmarksView *treeWidget);
+ void read(BookmarkModel *model);
private:
QIODevice *m_file;