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/location/places/qplacemanager.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/location/places/qplacemanager.cpp')
-rw-r--r-- | src/location/places/qplacemanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/places/qplacemanager.cpp b/src/location/places/qplacemanager.cpp index d2f55e20..e54bd5f2 100644 --- a/src/location/places/qplacemanager.cpp +++ b/src/location/places/qplacemanager.cpp @@ -146,7 +146,7 @@ QPlaceDetailsReply *QPlaceManager::getPlaceDetails(const QString &placeId) const Retrieves content from a given \a place according to thes parameters specified in \a request. */ -QPlaceContentReply *QPlaceManager::getContent(const QGeoPlace &place, const QPlaceContentRequest &request) const +QPlaceContentReply *QPlaceManager::getContent(const QPlace &place, const QPlaceContentRequest &request) const { return d->engine->getContent(place, request); } @@ -170,7 +170,7 @@ QPlaceSearchReply *QPlaceManager::searchForPlaces(const QPlaceSearchRequest &req /*! Provides recommendation based on a given \a request. */ -QPlaceSearchReply *QPlaceManager::recommendations(const QGeoPlace &place, const QPlaceSearchRequest &request) const +QPlaceSearchReply *QPlaceManager::recommendations(const QPlace &place, const QPlaceSearchRequest &request) const { return d->engine->recommendations(place, request); } @@ -210,7 +210,7 @@ QPlaceManager::ConnectivityModes QPlaceManager::supportedConnectivityModes() con /*! Saves a \a place at the given \a scope. */ -QPlaceIdReply *QPlaceManager::savePlace(const QGeoPlace &place, VisibilityScope scope) +QPlaceIdReply *QPlaceManager::savePlace(const QPlace &place, VisibilityScope scope) { return d->engine->savePlace(place, scope); } @@ -218,7 +218,7 @@ QPlaceIdReply *QPlaceManager::savePlace(const QGeoPlace &place, VisibilityScope /*! Removes a \a place from the manager */ -QPlaceIdReply *QPlaceManager::removePlace(const QGeoPlace &place) +QPlaceIdReply *QPlaceManager::removePlace(const QPlace &place) { return d->engine->removePlace(place); } |