aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/model/bookmarkmodel.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-06 14:02:45 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-06 14:02:45 +0200
commit09cfc76fc8af203240e3510928f75d36ba47cb0a (patch)
tree24c5f17892e98b09aa2b82c51277da150682c399 /lib/bookmarks/model/bookmarkmodel.h
parentbookmarks: fix new/delete buttons (diff)
downloadsmolbote-09cfc76fc8af203240e3510928f75d36ba47cb0a.tar.xz
bookmarks: save folder expanded state
Diffstat (limited to 'lib/bookmarks/model/bookmarkmodel.h')
-rw-r--r--lib/bookmarks/model/bookmarkmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bookmarks/model/bookmarkmodel.h b/lib/bookmarks/model/bookmarkmodel.h
index 4da2f9c..3e0f35e 100644
--- a/lib/bookmarks/model/bookmarkmodel.h
+++ b/lib/bookmarks/model/bookmarkmodel.h
@@ -28,6 +28,7 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const override;
bool isItemExpanded(const QModelIndex &index) const;
+ void setItemExpanded(const QModelIndex &index, bool expanded);
int rowCount(const QModelIndex &index) const override;
QModelIndex appendBookmark(const QString &title, const QString &url, const QModelIndex &parent);