summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-22 17:24:15 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-22 17:10:57 -0700
commit7f83b35ec9e7e15e085604c37956510e5703e6f3 (patch)
tree3ce5d97b58ca49b98cb109a190e780b3d4a06e38 /qt-models/divelocationmodel.h
parenta19bbcc715b9032ee5aa41dfcfe47a1607600e67 (diff)
downloadsubsurface-7f83b35ec9e7e15e085604c37956510e5703e6f3.tar.gz
Add model to populate the Preferences for GeoRef
Simple model that list the options for GeoRef. 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.h9
1 files changed, 9 insertions, 0 deletions
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 <QAbstractListModel>
+#include <QStringListModel>
#include <stdint.h>
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