diff options
author | Alexander Volkov <avolkov@astralinux.ru> | 2020-06-11 17:16:40 +0300 |
---|---|---|
committer | Alexander Volkov <avolkov@astralinux.ru> | 2020-06-29 14:13:56 +0300 |
commit | 76c0963f280484adaf859958b7d7017ddc4dc5da (patch) | |
tree | ad67077f70ece9584f83c0d50e54f7bbfb694f73 /src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h | |
parent | ffee803f1099f85082a152791a7a3b261947a751 (diff) | |
download | qtlocation-76c0963f280484adaf859958b7d7017ddc4dc5da.tar.gz |
Add missing override
Change-Id: Ieae01bc4669cdd503f97399c622989795a0ad734
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h')
-rw-r--r-- | src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h index 9f17ab4d..e34a8bf2 100644 --- a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h +++ b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h @@ -94,18 +94,18 @@ public: virtual ~QDeclarativeSupportedCategoriesModel(); // From QQmlParserStatus - virtual void classBegin() {} - virtual void componentComplete(); + void classBegin() override {} + void componentComplete() override; // From QAbstractItemModel - int rowCount(const QModelIndex &parent) const; - int columnCount(const QModelIndex &parent) const; + int rowCount(const QModelIndex &parent) const override; + int columnCount(const QModelIndex &parent) const override; - QModelIndex index(int row, int column, const QModelIndex &parent) const; - QModelIndex parent(const QModelIndex &child) const; + QModelIndex index(int row, int column, const QModelIndex &parent) const override; + QModelIndex parent(const QModelIndex &child) const override; - Q_INVOKABLE QVariant data(const QModelIndex &index, int role) const; - QHash<int, QByteArray> roleNames() const; + Q_INVOKABLE QVariant data(const QModelIndex &index, int role) const override; + QHash<int, QByteArray> roleNames() const override; enum Roles { CategoryRole = Qt::UserRole, |