diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2014-08-14 23:14:07 +0200 |
---|---|---|
committer | Anne Jan Brouwer <ajbrouwer@totalactivemedia.nl> | 2014-08-14 23:14:07 +0200 |
commit | 8554316ec9b8a6a4ea82a03bbe78d1e5d55fe691 (patch) | |
tree | fa266f530609d2b84cfdf3e27ad81b2df901b250 /storemodel.h | |
parent | 3d1988d94572419e0af98223c53dbca65146482e (diff) |
search on filePath
Diffstat (limited to 'storemodel.h')
-rw-r--r-- | storemodel.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <QSortFilterProxyModel> +#include <QFileSystemModel> 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 |