From 8554316ec9b8a6a4ea82a03bbe78d1e5d55fe691 Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Thu, 14 Aug 2014 23:14:07 +0200 Subject: search on filePath --- storemodel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'storemodel.h') diff --git a/storemodel.h b/storemodel.h index a02b033f..e503a1ce 100644 --- a/storemodel.h +++ b/storemodel.h @@ -2,15 +2,20 @@ #define STOREMODEL_H #include +#include class StoreModel : public QSortFilterProxyModel { Q_OBJECT +private: + QFileSystemModel* fs; + public: StoreModel(); bool filterAcceptsRow(int, const QModelIndex &) const; bool ShowThis(const QModelIndex) const; + void setFSModel(QFileSystemModel *sourceModel); }; #endif // STOREMODEL_H -- cgit v1.2.3