diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-04-10 18:59:31 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-04 08:41:37 +0000 |
commit | 986110e3a41b0e90ab55fa7d17ef12599c824b56 (patch) | |
tree | 32f2c8061621aeb00c5a00fca2f376039411276a /src/plugins/geoservices/mapbox | |
parent | ca1e96183643f59f95b6b9391d9d4c15bdac4a64 (diff) | |
download | qtlocation-986110e3a41b0e90ab55fa7d17ef12599c824b56.tar.gz |
Remove QGeoMapData class.
Since QGeoMap class does not have any subclasses, there is no
need for keeping the bridge in form of QGeoMapData.
This commit basically renames QGeoMapData to be QGeoMap.
Change-Id: I6eb2f56f7ea83663034f4a8297e8e8f7f185d6a9
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/geoservices/mapbox')
-rw-r--r-- | src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp | 2 | ||||
-rw-r--r-- | src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp index 590f1b14..fd647159 100644 --- a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp +++ b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp @@ -85,7 +85,7 @@ QGeoTiledMappingManagerEngineMapbox::~QGeoTiledMappingManagerEngineMapbox() { } -QGeoMapData *QGeoTiledMappingManagerEngineMapbox::createMapData() +QGeoMap *QGeoTiledMappingManagerEngineMapbox::createMapData() { return new QGeoTiledMapData(this, 0); } diff --git a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.h b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.h index e0cd54c2..39876457 100644 --- a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.h +++ b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.h @@ -52,7 +52,7 @@ public: QGeoServiceProvider::Error *error, QString *errorString); ~QGeoTiledMappingManagerEngineMapbox(); - QGeoMapData *createMapData(); + QGeoMap *createMapData(); }; QT_END_NAMESPACE |