aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/xbel.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r--lib/bookmarks/xbel.h4
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;
};