diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2014-08-17 00:25:44 +0200 |
---|---|---|
committer | Anne Jan Brouwer <ajbrouwer@totalactivemedia.nl> | 2014-08-17 00:25:44 +0200 |
commit | e049351b144fa1addee50b704469e5974d523b78 (patch) | |
tree | d55485e9a66ac0c4ce5edcc4326d59833ec84977 /storemodel.h | |
parent | 4ff5838d84555e314d99916b31f4599e2f9343a7 (diff) |
regexp power
Diffstat (limited to 'storemodel.h')
-rw-r--r-- | storemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storemodel.h b/storemodel.h index cad3c8de..0f7488ec 100644 --- a/storemodel.h +++ b/storemodel.h @@ -3,6 +3,7 @@ #include <QSortFilterProxyModel> #include <QFileSystemModel> +#include <QRegExp> class StoreModel : public QSortFilterProxyModel { @@ -17,6 +18,7 @@ public: bool filterAcceptsRow(int, const QModelIndex &) const; bool ShowThis(const QModelIndex) const; void setModelAndStore(QFileSystemModel *sourceModel, QString passStore); + QVariant data(const QModelIndex &index, int role) const; }; #endif // STOREMODEL_H |