aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/bookmarkswidget.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-02-07 21:08:39 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-02-07 21:08:39 +0100
commitf779510603e01de438e337c82c439cc6649cd7c3 (patch)
tree98254e5ab079edcc6e207d692af28378573d4f0f /lib/bookmarks/bookmarkswidget.h
parentBookmarks bugfixes (diff)
downloadsmolbote-f779510603e01de438e337c82c439cc6649cd7c3.tar.xz
Rewrote bookmark manager to use QTreeWidget over QTreeView
- cut out all the boilerplate that was BookmarkItem/BookmarksModel - deleting items no longer crash; proper drag'n'drop - Split Xbel into XbelReader and XbelWriter
Diffstat (limited to 'lib/bookmarks/bookmarkswidget.h')
-rw-r--r--lib/bookmarks/bookmarkswidget.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bookmarks/bookmarkswidget.h b/lib/bookmarks/bookmarkswidget.h
index f84b21a..129a5bc 100644
--- a/lib/bookmarks/bookmarkswidget.h
+++ b/lib/bookmarks/bookmarkswidget.h
@@ -9,8 +9,6 @@
#ifndef BOOKMARKSDIALOG_H
#define BOOKMARKSDIALOG_H
-#include "bookmarksmodel.h"
-#include "xbel.h"
#include <QShortcut>
#include <QWidget>
#include <QFile>
@@ -29,7 +27,6 @@ public:
~BookmarksWidget() override;
void save();
- QAbstractItemModel *model() const;
void closeOthers();
@@ -39,7 +36,6 @@ signals:
private:
Ui::BookmarksDialog *ui;
- BookmarksModel *m_model;
QString m_bookmarksPath;
};