diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-14 23:34:13 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-14 23:34:13 +0200 |
commit | 4c71c8571ceb10b29e6550cd0d8eb928049e6851 (patch) | |
tree | 2130c586e6be37185ca382e68ff645710d6c5e63 /lib/bookmarks/formats/format.h | |
parent | Fix if statements in PKGBUILD (diff) | |
download | smolbote-4c71c8571ceb10b29e6550cd0d8eb928049e6851.tar.xz |
Move/rename files for readability
- add BookmarkFormat <<|>> BookmarkModel operators
Diffstat (limited to 'lib/bookmarks/formats/format.h')
-rw-r--r-- | lib/bookmarks/formats/format.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/bookmarks/formats/format.h b/lib/bookmarks/formats/format.h deleted file mode 100644 index e96dfcc..0000000 --- a/lib/bookmarks/formats/format.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote - * - * SPDX-License-Identifier: GPL-3.0 - */ - -#ifndef BOOKMARKSFORMAT_H -#define BOOKMARKSFORMAT_H - -class QIODevice; -class BookmarkItem; - -enum BookmarksFormats { - XbelFormat -}; - -template<BookmarksFormats format> -class BookmarksFormat -{ -public: - explicit BookmarksFormat(QIODevice *device) - { - m_device = device; - } - - void read(BookmarkItem *root); - void write(BookmarkItem *root); - -protected: - QIODevice *m_device; -}; - -#endif // BOOKMARKSFORMAT_H - |