diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-11 17:30:38 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-11 17:30:38 +0100 |
commit | 5d0adf426a33440542eb88eca83c804dcec58475 (patch) | |
tree | 34358c8039c2f6cb2a121a169374dc4a7a21b614 /lib/bookmarks/xbel.h | |
parent | Removed docs (moved to site) (diff) | |
download | smolbote-5d0adf426a33440542eb88eca83c804dcec58475.tar.xz |
Writing BookmarksModel to xbel
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r-- | lib/bookmarks/xbel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h index c425cc5..c1de1df 100644 --- a/lib/bookmarks/xbel.h +++ b/lib/bookmarks/xbel.h @@ -17,10 +17,12 @@ class Xbel { public: explicit Xbel(const QString &path); - BookmarkItem *read(); + bool read(BookmarkItem *root); + bool write(BookmarkItem *root); private: void readChildElements(QXmlStreamReader &reader, BookmarkItem *parentItem); + void writeChildElements(QXmlStreamWriter &writer, BookmarkItem *parentItem); QString m_path; }; |