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 /tests/auto/geotestplugin/qplacemanagerengine_test.h | |
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 'tests/auto/geotestplugin/qplacemanagerengine_test.h')
-rw-r--r-- | tests/auto/geotestplugin/qplacemanagerengine_test.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/geotestplugin/qplacemanagerengine_test.h b/tests/auto/geotestplugin/qplacemanagerengine_test.h index ea66b581..d7f1266c 100644 --- a/tests/auto/geotestplugin/qplacemanagerengine_test.h +++ b/tests/auto/geotestplugin/qplacemanagerengine_test.h @@ -77,7 +77,7 @@ public: return 0; } - QPlaceContentReply *getContent(const QGeoPlace &place, const QPlaceContentRequest &query) + QPlaceContentReply *getContent(const QPlace &place, const QPlaceContentRequest &query) { Q_UNUSED(place) Q_UNUSED(query) @@ -100,7 +100,7 @@ public: return 0; } - QPlaceSearchReply *recommendations(const QGeoPlace &place, const QPlaceSearchRequest &query) + QPlaceSearchReply *recommendations(const QPlace &place, const QPlaceSearchRequest &query) { Q_UNUSED(place) Q_UNUSED(query) @@ -130,7 +130,7 @@ public: return QPlaceManager::OnlineMode; } - QPlaceIdReply *savePlace(const QGeoPlace &place, QPlaceManager::VisibilityScope scope) + QPlaceIdReply *savePlace(const QPlace &place, QPlaceManager::VisibilityScope scope) { Q_UNUSED(place) Q_UNUSED(scope) @@ -143,7 +143,7 @@ public: return QPlaceManager::PublicScope; } - QPlaceIdReply *removePlace(const QGeoPlace &place) + QPlaceIdReply *removePlace(const QPlace &place) { Q_UNUSED(place) |