summaryrefslogtreecommitdiffstats
path: root/qt-models/gpslistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/gpslistmodel.h')
-rw-r--r--qt-models/gpslistmodel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/gpslistmodel.h b/qt-models/gpslistmodel.h
index e705825cc..bce84c985 100644
--- a/qt-models/gpslistmodel.h
+++ b/qt-models/gpslistmodel.h
@@ -10,7 +10,6 @@ class GpsListModel : public QAbstractListModel
{
Q_OBJECT
public:
-
enum GpsListRoles {
GpsDateRole = Qt::UserRole + 1,
GpsNameRole,
@@ -20,13 +19,13 @@ public:
};
static GpsListModel *instance();
- GpsListModel();
void clear();
int rowCount(const QModelIndex &parent = QModelIndex()) const;
QHash<int, QByteArray> roleNames() const;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
void update();
private:
+ GpsListModel();
QVector<gpsTracker> m_gpsFixes;
};