summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-24 21:17:11 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commite79eac333591332d0bfe8ebdeb76a791cf826861 (patch)
tree1a88358f8429a55e1defbbe27b7428e5d42822f6
parent50f42cfdef3e77ad912869af931d0796655368df (diff)
downloadsubsurface-e79eac333591332d0bfe8ebdeb76a791cf826861.tar.gz
maplocationmodel: fix some public / private declarations
Make the m_* variables private. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-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;