diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-04-13 16:50:12 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-05 13:03:04 +0000 |
commit | 4fb86e6d29a13d61ac04a302e4d312de349115f8 (patch) | |
tree | 1d8e2f55a555324b297520c783d973681415c894 /tests/auto/geotestplugin | |
parent | cbe2583de456f18ddd2e4e5d2da225935aac1475 (diff) | |
download | qtlocation-4fb86e6d29a13d61ac04a302e4d312de349115f8.tar.gz |
Fixes PIMPL in QGeoTiledMap.
This commit makes following changes:
* QGeoTiledMapPrivate is now a subclass of QGeoMapPrivate.
* makes QGeoMap constructor private.
* change visibility of setCameraData in QGeoMap, so that
only QGeoMapController can modify the camera data.
* moves mapResized,changeCameraData,changeActiveMapType
to private implementation interface.
* moves mapVersion member function to base class.
Change-Id: I336e7f72b03e845e09e445a6eebad90b2e46dbd1
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests/auto/geotestplugin')
-rw-r--r-- | tests/auto/geotestplugin/qgeotiledmap_test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/geotestplugin/qgeotiledmap_test.h b/tests/auto/geotestplugin/qgeotiledmap_test.h index bf1d5074..df6f9df5 100644 --- a/tests/auto/geotestplugin/qgeotiledmap_test.h +++ b/tests/auto/geotestplugin/qgeotiledmap_test.h @@ -45,6 +45,8 @@ class QGeoTiledMapTest: public QGeoTiledMap public: QGeoTiledMapTest(QGeoTiledMappingManagerEngine *engine, QObject *parent = 0) : QGeoTiledMap(engine, parent) {} +public: + using QGeoTiledMap::setCameraData; }; |