summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-08-31 20:37:49 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 18:41:32 -0700
commit71e366a6e4cd1529eb336f68f239736125466fcf (patch)
tree17807532db4d309348b9e95a6e936f8a7ad9da82 /qt-models/divelocationmodel.h
parentab32295f8906ae5b6334f7abc8d05032b68ae577 (diff)
downloadsubsurface-71e366a6e4cd1529eb336f68f239736125466fcf.tar.gz
Add function to filter same-gps dive sites
This should be userfull to show dive sites that are mergeable. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r--qt-models/divelocationmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index 3bf7161f5..f40bbd1de 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -5,10 +5,14 @@
#include <QStringListModel>
#include <stdint.h>
+#include "ssrfsortfilterproxymodel.h"
+
class QLineEdit;
#define RECENTLY_ADDED_DIVESITE 1
+bool filter_same_gps_cb (int sourceRow, const QModelIndex& parent);
+
class LocationInformationModel : public QAbstractTableModel {
Q_OBJECT
public: