aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/xbel.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-02-04 17:27:58 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-02-04 17:27:58 +0100
commit334be268bf75b863f7c912ae28bab46f7bbc325a (patch)
tree997008a9d7231c99d22fa0ea4187530b20b6b2e7 /lib/bookmarks/xbel.h
parentFixed bug where refresh button and loading bar would get stuck in loading state (diff)
downloadsmolbote-334be268bf75b863f7c912ae28bab46f7bbc325a.tar.xz
Bookmarks drag and drop
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r--lib/bookmarks/xbel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h
index 52f7072..f0945bf 100644
--- a/lib/bookmarks/xbel.h
+++ b/lib/bookmarks/xbel.h
@@ -16,7 +16,7 @@
class Xbel
{
public:
- explicit Xbel(const QString &path);
+ explicit Xbel(QIODevice *file);
bool read(BookmarkItem *root);
bool write(BookmarkItem *root);
@@ -24,7 +24,7 @@ private:
void readChildElements(QXmlStreamReader &reader, BookmarkItem *parentItem);
void writeChildElements(QXmlStreamWriter &writer, BookmarkItem *parentItem);
- QString m_path;
+ QIODevice *m_file;
};
#endif // XBELREADER_H