summaryrefslogtreecommitdiffstats
path: root/qt-ui/filtermodels.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-13 12:51:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-13 12:52:35 -0800
commitac9ead4571f3c1546c0cd88a39088f91b01929b3 (patch)
tree98db69bc3ddbf77a9b2d789ff37cba635709dd02 /qt-ui/filtermodels.h
parent8086b39e11da344f9c931ea8d325d2ef94982913 (diff)
downloadsubsurface-ac9ead4571f3c1546c0cd88a39088f91b01929b3.tar.gz
Random whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/filtermodels.h')
-rw-r--r--qt-ui/filtermodels.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/qt-ui/filtermodels.h b/qt-ui/filtermodels.h
index 3d64356ed..7e75a8b13 100644
--- a/qt-ui/filtermodels.h
+++ b/qt-ui/filtermodels.h
@@ -14,7 +14,7 @@ public:
bool anyChecked;
};
-class TagFilterModel : public QStringListModel, public MultiFilterInterface{
+class TagFilterModel : public QStringListModel, public MultiFilterInterface {
Q_OBJECT
public:
static TagFilterModel *instance();
@@ -32,7 +32,7 @@ private:
explicit TagFilterModel(QObject *parent = 0);
};
-class BuddyFilterModel : public QStringListModel, public MultiFilterInterface{
+class BuddyFilterModel : public QStringListModel, public MultiFilterInterface {
Q_OBJECT
public:
static BuddyFilterModel *instance();
@@ -50,7 +50,7 @@ private:
explicit BuddyFilterModel(QObject *parent = 0);
};
-class LocationFilterModel : public QStringListModel, public MultiFilterInterface{
+class LocationFilterModel : public QStringListModel, public MultiFilterInterface {
Q_OBJECT
public:
static LocationFilterModel *instance();
@@ -68,7 +68,7 @@ private:
explicit LocationFilterModel(QObject *parent = 0);
};
-class SuitsFilterModel : public QStringListModel, public MultiFilterInterface{
+class SuitsFilterModel : public QStringListModel, public MultiFilterInterface {
Q_OBJECT
public:
static SuitsFilterModel *instance();
@@ -93,12 +93,14 @@ public:
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
void addFilterModel(MultiFilterInterface *model);
void removeFilterModel(MultiFilterInterface *model);
-public slots:
+public
+slots:
void myInvalidate();
void clearFilter();
+
private:
MultiFilterSortModel(QObject *parent = 0);
- QList<MultiFilterInterface*> models;
+ QList<MultiFilterInterface *> models;
bool justCleared;
};