diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-06-01 11:21:00 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-06-03 17:53:40 +0000 |
commit | 263556ceda91a66073361b5917b9fe5b2c79f84e (patch) | |
tree | 8dd8393153adc5da2685168c73346d9b1a3c0219 /tests/auto | |
parent | 18ee056eec91a6a65a5b3cc481a06bacd108fda9 (diff) | |
download | qtlocation-263556ceda91a66073361b5917b9fe5b2c79f84e.tar.gz |
Rename setCamera to setCameraData in qgeocameratiles
Keeps the same function name across all classes.
Change-Id: I3f8b723ce513e50ea93a3fd1af99c7d2ba79a11d
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp | 6 | ||||
-rw-r--r-- | tests/auto/qgeomapscene/tst_qgeomapscene.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp b/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp index 17639c06..b4f3a797 100644 --- a/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp +++ b/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp @@ -122,7 +122,7 @@ private slots: QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(16); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(32, 32)); ct.setMapType(QGeoMapType(QGeoMapType::StreetMap, "street map", "street map", false, false, 1)); @@ -171,7 +171,7 @@ private slots: QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(16); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(32, 32)); ct.setPluginString("pluginA"); @@ -230,7 +230,7 @@ private slots: QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(16); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(std::ceil(width), std::ceil(height))); QSet<QGeoTileSpec> tiles; diff --git a/tests/auto/qgeomapscene/tst_qgeomapscene.cpp b/tests/auto/qgeomapscene/tst_qgeomapscene.cpp index e76e2d2a..ac12d986 100644 --- a/tests/auto/qgeomapscene/tst_qgeomapscene.cpp +++ b/tests/auto/qgeomapscene/tst_qgeomapscene.cpp @@ -284,7 +284,7 @@ class tst_QGeoMapScene : public QObject QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(16); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(16,16)); QGeoMapScene mapScene; @@ -326,7 +326,7 @@ class tst_QGeoMapScene : public QObject QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(tileSize); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(screenWidth,screenHeight)); QGeoMapScene mapGeometry; @@ -366,7 +366,7 @@ class tst_QGeoMapScene : public QObject QGeoCameraTiles ct; ct.setMaximumZoomLevel(8); ct.setTileSize(tileSize); - ct.setCamera(camera); + ct.setCameraData(camera); ct.setScreenSize(QSize(screenWidth,screenHeight)); QGeoMapScene mapGeometry; |