summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoserviceproviderfactory.cpp
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-07-08 14:18:39 +1000
committerabcd <qt_abcd1@ovi.com>2011-07-11 08:12:22 +0200
commit18c805cfd418a74cb2656d0c4a0fd7676786fb44 (patch)
treeec5e2cbcf70a352a2eeae3a976bcf0d6a43f738f /src/location/maps/qgeoserviceproviderfactory.cpp
parentea02345aeeff589cc342e1afd170a07d110180d8 (diff)
downloadqtlocation-18c805cfd418a74cb2656d0c4a0fd7676786fb44.tar.gz
Refactoring to use QGeoLocation
This refactoring is comprised of 2 main tasks. 1) Use QGeoLocation instead of QPlaceLocation, which came from the qt4-prerelease. 2) Use QGeoLocation instead of QGeoPlace from mobility. QGeoPlace in mobility encapsulated an address + coordinate, QGeoLocation in qt5 now fulfills that role(with some extra data fields) Mostly the searchreply and searchmanagers have been refactored to use qgeolocation instead of qgeoplace. This change addresses the library, plugins and tests but only some of the qml. Note the geosearchmanager in future will need to be refactored into a geocodingmanager, and there is still work needed on the qml side of things. Aside: the namings of mobility were used over the namings of the qt4 preprelease eg QPlaceLocation::displayPosition->QGeoLocation::coordinate QPlaceLocatoin::mapView->QGeoLocation::viewport. Change-Id: I312cddcb835ff52e94256c1fa97c6a9027eb9312 Reviewed-on: http://codereview.qt.nokia.com/1339 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: abcd <qt_abcd1@ovi.com>
Diffstat (limited to 'src/location/maps/qgeoserviceproviderfactory.cpp')
-rw-r--r--src/location/maps/qgeoserviceproviderfactory.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/location/maps/qgeoserviceproviderfactory.cpp b/src/location/maps/qgeoserviceproviderfactory.cpp
index 83827517..a2e7f03b 100644
--- a/src/location/maps/qgeoserviceproviderfactory.cpp
+++ b/src/location/maps/qgeoserviceproviderfactory.cpp
@@ -89,8 +89,7 @@ amongst the plugins.
/*!
Returns a new QGeoSearchManagerEngine instance, initialized with \a
- parameters, which implements as much of the places searching functionality
- as the service provider supports.
+ parameters, which implements the location searching functionality.
If \a error is not 0 it should be set to QGeoServiceProvider::NoError on
success or an appropriate QGeoServiceProvider::Error on failure.
@@ -114,8 +113,7 @@ QGeoSearchManagerEngine* QGeoServiceProviderFactory::createSearchManagerEngine(c
/*!
Returns a new QGeoMappingManagerEngine instance, initialized with \a
- parameters, which implements as much of the places searching functionality
- as the service provider supports.
+ parameters, which implements the location searching functionality.
If \a error is not 0 it should be set to QGeoServiceProvider::NoError on
success or an appropriate QGeoServiceProvider::Error on failure.
@@ -139,8 +137,7 @@ QGeoMappingManagerEngine* QGeoServiceProviderFactory::createMappingManagerEngine
/*!
Returns a new QGeoRoutingManagerEngine instance, initialized with \a
- parameters, which implements as much of the places searching functionality
- as the service provider supports.
+ parameters, which implements the location searching functionality.
If \a error is not 0 it should be set to QGeoServiceProvider::NoError on
success or an appropriate QGeoServiceProvider::Error on failure.