summaryrefslogtreecommitdiffstats
path: root/storemodel.h
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2014-08-17 00:25:44 +0200
committerAnne Jan Brouwer <ajbrouwer@totalactivemedia.nl>2014-08-17 00:25:44 +0200
commite049351b144fa1addee50b704469e5974d523b78 (patch)
treed55485e9a66ac0c4ce5edcc4326d59833ec84977 /storemodel.h
parent4ff5838d84555e314d99916b31f4599e2f9343a7 (diff)
regexp power
Diffstat (limited to 'storemodel.h')
-rw-r--r--storemodel.h2
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