aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarymodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/library/librarymodel.h')
-rw-r--r--src/plugins/General/library/librarymodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarymodel.h b/src/plugins/General/library/librarymodel.h
index a06365330..327e91629 100644
--- a/src/plugins/General/library/librarymodel.h
+++ b/src/plugins/General/library/librarymodel.h
@@ -46,12 +46,14 @@ public:
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+ void setFilter(const QString &filter);
void refresh();
+
private:
QList<QUrl> getUrls(const QModelIndex &index) const;
-
LibraryTreeItem *m_rootItem;
+ QString m_filter;
};
#endif // LIBRARYMODEL_H