aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/bookmarkswidget.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-04 13:16:13 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-04 13:16:13 +0100
commitfad0abffec1ba784256daa68c7d52891c2d08825 (patch)
treed7d255805500e1f2598ef6aea7b21ca116a1b1df /lib/bookmarks/bookmarkswidget.h
parentFixed crash with Settings dialog (diff)
downloadsmolbote-fad0abffec1ba784256daa68c7d52891c2d08825.tar.xz
Various minor fixes
- typo fixes - bumped copyright year - removed a bunch of unused imports - fixed a couple of clazy warnings
Diffstat (limited to 'lib/bookmarks/bookmarkswidget.h')
-rw-r--r--lib/bookmarks/bookmarkswidget.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/bookmarks/bookmarkswidget.h b/lib/bookmarks/bookmarkswidget.h
index aa188b2..5b815c0 100644
--- a/lib/bookmarks/bookmarkswidget.h
+++ b/lib/bookmarks/bookmarkswidget.h
@@ -23,17 +23,14 @@ class BookmarksWidget : public QWidget
public:
explicit BookmarksWidget(const QString &path, QWidget *parent = 0);
- ~BookmarksWidget();
+ ~BookmarksWidget() override ;
void save();
+ QAbstractItemModel *model() const;
signals:
void openUrl(const QUrl &url);
-public slots:
- QStringList bookmarksFor(const QString &term);
- QAbstractItemModel *model() const;
-
private slots:
void openItem(QTreeWidgetItem *item, int column);
void showItemDetails();