diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-25 16:49:56 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-25 16:49:56 +0200 |
commit | e0badcc7ef354b4bfdeedfde8f5ec3e82c27e741 (patch) | |
tree | cd997551fcd5c67c770d55f8182f678666fef240 /lib/bookmarks/xbel.h | |
parent | Bookmarks: integrate model/view (diff) | |
download | smolbote-e0badcc7ef354b4bfdeedfde8f5ec3e82c27e741.tar.xz |
Bookmarks: add tags and description fields to xbel
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r-- | lib/bookmarks/xbel.h | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h index e38ae98..9be7dd4 100644 --- a/lib/bookmarks/xbel.h +++ b/lib/bookmarks/xbel.h @@ -6,32 +6,15 @@ * SPDX-License-Identifier: GPL-3.0 */ -#ifndef XBELREADER_H -#define XBELREADER_H +#ifndef XBEL_H +#define XBEL_H -#include "bookmarksview.h" -#include <QString> -#include <QXmlStreamReader> -#include "bookmarkmodel.h" - -class BookmarkModel; -class XbelReader -{ -public: - explicit XbelReader(QIODevice *file); - void read(BookmarkItem *model); - -private: - QIODevice *m_file; -}; - -class XbelWriter +class QIODevice; +class BookmarkItem; +namespace Xbel { -public: - explicit XbelWriter(); - void write(QIODevice *device, const BookmarkItem *item); - -private: +void read(QIODevice *device, BookmarkItem *model); +void write(QIODevice *device, const BookmarkItem *item); }; -#endif // XBELREADER_H +#endif // XBEL_H |