From 7f83b35ec9e7e15e085604c37956510e5703e6f3 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 22 Jun 2015 17:24:15 -0300 Subject: Add model to populate the Preferences for GeoRef Simple model that list the options for GeoRef. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/divelocationmodel.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qt-models/divelocationmodel.h') diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index 4e5adf104..c7d8c2ed5 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -2,6 +2,7 @@ #define DIVELOCATIONMODEL_H #include +#include #include class LocationInformationModel : public QAbstractListModel { @@ -22,4 +23,12 @@ private: int internalRowCount; }; +class GeoReferencingOptionsModel : public QStringListModel { +Q_OBJECT +public: + static GeoReferencingOptionsModel *instance(); +private: + GeoReferencingOptionsModel(QObject *parent = 0); +}; + #endif -- cgit v1.2.3-70-g09d2