summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanagerengine.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-09-12 13:35:44 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-23 05:31:20 +0200
commit5841ce6aeff5e01febc0d44b0eea0b371fb19ed8 (patch)
tree3098a61397642addbf88792c68fb6789bd35dafb /src/location/places/qplacemanagerengine.h
parenta758d5641c330504941b531cc62f836ea11919c7 (diff)
downloadqtlocation-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/qplacemanagerengine.h')
-rw-r--r--src/location/places/qplacemanagerengine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/places/qplacemanagerengine.h b/src/location/places/qplacemanagerengine.h
index 6902a151..2bdd74f6 100644
--- a/src/location/places/qplacemanagerengine.h
+++ b/src/location/places/qplacemanagerengine.h
@@ -61,23 +61,23 @@ public:
virtual QPlaceDetailsReply *getPlaceDetails(const QString &placeId) = 0;
- virtual QPlaceContentReply *getContent(const QGeoPlace &place, const QPlaceContentRequest &request) = 0;
+ virtual QPlaceContentReply *getContent(const QPlace &place, const QPlaceContentRequest &request) = 0;
virtual QPlaceReply *postRating(const QString &placeId, qreal value) = 0;
virtual QPlaceSearchReply *searchForPlaces(const QPlaceSearchRequest &request) = 0;
- virtual QPlaceSearchReply *recommendations(const QGeoPlace &place, const QPlaceSearchRequest &request) = 0;
+ virtual QPlaceSearchReply *recommendations(const QPlace &place, const QPlaceSearchRequest &request) = 0;
virtual QPlaceTextPredictionReply *textPredictions(const QPlaceSearchRequest &request) = 0;
virtual QPlaceManager::ConnectivityModes connectivityMode() const = 0;
virtual void setConnectivityMode(QPlaceManager::ConnectivityModes mode) = 0;
virtual QPlaceManager::ConnectivityModes supportedConnectivityModes() const = 0;
- virtual QPlaceIdReply *savePlace(const QGeoPlace &place, QPlaceManager::VisibilityScope scope) = 0;
+ virtual QPlaceIdReply *savePlace(const QPlace &place, QPlaceManager::VisibilityScope scope) = 0;
virtual QPlaceManager::VisibilityScopes supportedSaveVisibilityScopes() const = 0;
- virtual QPlaceIdReply *removePlace(const QGeoPlace &place) = 0;
+ virtual QPlaceIdReply *removePlace(const QPlace &place) = 0;
virtual QPlaceReply *initializeCategories() = 0;
virtual QList<QPlaceCategory> categories(const QPlaceCategory &parent) const = 0;