summaryrefslogtreecommitdiffstats
path: root/qt-models/filtermodels.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/filtermodels.h')
-rw-r--r--qt-models/filtermodels.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h
index d279470b1..2dcce0fc0 100644
--- a/qt-models/filtermodels.h
+++ b/qt-models/filtermodels.h
@@ -4,31 +4,18 @@
#include "divetripmodel.h"
-#include <QStringListModel>
#include <QSortFilterProxyModel>
-#include <QDateTime>
-
-#include <stdint.h>
-#include <vector>
class MultiFilterSortModel : public QSortFilterProxyModel {
Q_OBJECT
public:
static MultiFilterSortModel *instance();
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
- bool updateDive(struct dive *d); // returns true if visibility status changed
bool lessThan(const QModelIndex &, const QModelIndex &) const override;
void resetModel(DiveTripModelBase::Layout layout);
- void myInvalidate();
-
-signals:
- void filterFinished();
-
private:
MultiFilterSortModel(QObject *parent = 0);
- // Dive site filtering has priority over other filters
- void countsChanged();
};
#endif