diff options
author | abcd <qt-info@nokia.com> | 2011-07-08 14:18:39 +1000 |
---|---|---|
committer | abcd <qt_abcd1@ovi.com> | 2011-07-11 08:12:22 +0200 |
commit | 18c805cfd418a74cb2656d0c4a0fd7676786fb44 (patch) | |
tree | ec5e2cbcf70a352a2eeae3a976bcf0d6a43f738f /src/location/places/places.pri | |
parent | ea02345aeeff589cc342e1afd170a07d110180d8 (diff) | |
download | qtlocation-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/places/places.pri')
-rw-r--r-- | src/location/places/places.pri | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/location/places/places.pri b/src/location/places/places.pri index e6269add..20088fc4 100644 --- a/src/location/places/places.pri +++ b/src/location/places/places.pri @@ -9,7 +9,6 @@ PUBLIC_HEADERS += \ places/qplacecategory.h \ places/qplacecontact.h \ places/qplacedescription.h \ - places/qplacelocation.h \ places/qplacemediaobject.h \ places/qplacepaginationlist.h \ places/qplaceperiod.h \ @@ -41,7 +40,6 @@ PRIVATE_HEADERS += \ places/qplacecategory_p.h \ places/qplacecontact_p.h \ places/qplacedescription_p.h \ - places/qplacelocation_p.h \ places/qplacemediaobject_p.h \ places/qplaceperiod_p.h \ places/qplacerating_p.h \ @@ -60,7 +58,6 @@ SOURCES += \ places/qplacecategory.cpp \ places/qplacecontact.cpp \ places/qplacedescription.cpp \ - places/qplacelocation.cpp \ places/qplacemediaobject.cpp \ places/qplaceperiod.cpp \ places/qplacerating.cpp \ |