summaryrefslogtreecommitdiffstats
path: root/qt-models/maplocationmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/maplocationmodel.h')
-rw-r--r--qt-models/maplocationmodel.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h
index e17c0ede8..ba93da8f9 100644
--- a/qt-models/maplocationmodel.h
+++ b/qt-models/maplocationmodel.h
@@ -53,13 +53,12 @@ public:
void addList(QVector<MapLocation *>);
void clear();
MapLocation *getMapLocationForUuid(quint32 uuid);
+ Q_INVOKABLE void setSelectedUuid(QVariant uuid, QVariant fromClick = true);
protected:
QHash<int, QByteArray> roleNames() const;
-public:
- Q_INVOKABLE void setSelectedUuid(QVariant uuid, QVariant fromClick = true);
-
+private:
QVector<MapLocation *> m_mapLocations;
QHash<int, QByteArray> m_roles;
quint32 m_selectedUuid;