diff options
author | abcd <qt-info@nokia.com> | 2011-09-12 13:35:44 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-23 05:31:20 +0200 |
commit | 5841ce6aeff5e01febc0d44b0eea0b371fb19ed8 (patch) | |
tree | 3098a61397642addbf88792c68fb6789bd35dafb /src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp | |
parent | a758d5641c330504941b531cc62f836ea11919c7 (diff) | |
download | qtlocation-5841ce6aeff5e01febc0d44b0eea0b371fb19ed8.tar.gz |
Rename QGeoPlace to QPlace
This is to be more consistent with the other place classes
like QPlaceManager.
The alternative would be for everything to have the QGeo prefix
e.g QGePlaceManager, QGeoPlaceCategory,
the Geo prefix does not help much in avoiding name collisions
since 'Place' shouldn't collide with anything anyway.
For classes like routing the Geo prefix is necessary to give
context for what's being routed.
Change-Id: Ibcf6e6909a41ea0ce2c402e24b427496d06bf243
Reviewed-on: http://codereview.qt-project.org/5210
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp b/src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp index 06a6e228..a883efa4 100644 --- a/src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp +++ b/src/plugins/geoservices/nokia/places/qplacedetailsreplyimpl.cpp @@ -104,7 +104,7 @@ void QPlaceDetailsReplyImpl::resultReady(const QPlaceJSonParser::Error &errorId, const QString &errorMessage) { if (errorId == QPlaceJSonParser::NoError) { - QGeoPlace place = parser->result(); + QPlace place = parser->result(); place.setDetailsFetched(true); setResult(place); } else if (errorId == QPlaceJSonParser::ParsingError) { |