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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h
index f962386a1..f579df1a9 100644
--- a/qt-models/filtermodels.h
+++ b/qt-models/filtermodels.h
@@ -2,6 +2,8 @@
#ifndef FILTERMODELS_H
#define FILTERMODELS_H
+#include "divetripmodel.h" // For DiveTripModel::Layout. TODO: remove in due course
+
#include <QStringListModel>
#include <QSortFilterProxyModel>
#include <stdint.h>
@@ -132,6 +134,7 @@ slots:
void startFilterDiveSite(struct dive_site *ds);
void stopFilterDiveSite();
void filterChanged(const QModelIndex &from, const QModelIndex &to, const QVector<int> &roles);
+ void setLayout(DiveTripModel::Layout layout);
signals:
void filterFinished();