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, 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