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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h
index bfda83e90..e198773a5 100644
--- a/qt-models/maplocationmodel.h
+++ b/qt-models/maplocationmodel.h
@@ -56,8 +56,8 @@ public:
~MapLocationModel();
Q_INVOKABLE MapLocation *get(int row);
- QVariant data(const QModelIndex &index, int role) const;
- int rowCount(const QModelIndex &parent) const;
+ QVariant data(const QModelIndex &index, int role) const override;
+ int rowCount(const QModelIndex &parent) const override;
int count();
void add(MapLocation *);
void addList(QVector<MapLocation *>);
@@ -68,7 +68,7 @@ public:
quint32 selectedUuid();
protected:
- QHash<int, QByteArray> roleNames() const;
+ QHash<int, QByteArray> roleNames() const override;
private:
QVector<MapLocation *> m_mapLocations;