maplocationmodel: fix some public / private declarations

Make the m_* variables private.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-24 21:17:11 +03:00 committed by Dirk Hohndel
parent 50f42cfdef
commit e79eac3335

View file

@ -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;