summaryrefslogtreecommitdiff
path: root/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-08-22 15:09:25 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-08-23 14:43:13 +0200
commitec29ae5ad6afb4a4b0507bf2f81bdcfe0fcec123 (patch)
treeb36f761ab8f01b64db2e57cafb3d9baa785bed6f /src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
parent4c4ef4ae797549ac4597d4c8aeba1533c8e4c1f6 (diff)
downloadqtlocation-ec29ae5ad6afb4a4b0507bf2f81bdcfe0fcec123.tar.gz
Port to pointer-to-member-function connection syntax
Rename overloads that would cause conflict and require explicit overloa resolution via QOverload: - Q*Reply::error -> errorOccurred (equivalent to QNetworkReply) - Q*Engine::error -> errorOccurred (for consistency, even if no overloa - Q*Manager::error -> errorOccurred (ditto) - QDeclarativeGeoMap::copyrightChanged -> copyrightImageChanged As a drive-by, change QString value parameters to const references. Pick-to: 6.2 Change-Id: I1ab16079842540ca0a86f711d83b35c8c56135e6 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h')
-rw-r--r--src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
index 4037777a..a13fe256 100644
--- a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
+++ b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
@@ -150,6 +150,7 @@ private:
QModelIndex index(const QString &categoryId) const;
int rowToAddChild(PlaceCategoryNode *, const QPlaceCategory &category);
void updateLayout();
+ void emitDataChanged() { Q_EMIT dataChanged(); }
QPlaceReply *m_response;