diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-04-20 12:44:36 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-21 08:12:56 +0000 |
commit | deb17b1b4031fd4b00c7dd2fcf6c489c2b4a47e1 (patch) | |
tree | 5c68e189af0092a6688bf014b0894b7f885eda3c | |
parent | d999901e9ecc0524dbc6355ec9e3ba04b5c6c72a (diff) | |
download | qtlocation-deb17b1b4031fd4b00c7dd2fcf6c489c2b4a47e1.tar.gz |
Rename cameraStopped to prefetchData in Map API
Change-Id: Ia875214b7233e05a7f430931a2ba7437c9a428e3
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r-- | src/imports/location/qdeclarativegeomap.cpp | 4 | ||||
-rw-r--r-- | src/imports/location/qdeclarativegeomap_p.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/location/qdeclarativegeomap.cpp b/src/imports/location/qdeclarativegeomap.cpp index 1e582b8b..3924a476 100644 --- a/src/imports/location/qdeclarativegeomap.cpp +++ b/src/imports/location/qdeclarativegeomap.cpp @@ -777,11 +777,11 @@ void QDeclarativeGeoMap::pan(int dx, int dy) /*! - \qmlmethod void QtLocation::Map::cameraStopped() + \qmlmethod void QtLocation::Map::prefetchData() Optional hint that allows the map to prefetch during this idle period */ -void QDeclarativeGeoMap::cameraStopped() +void QDeclarativeGeoMap::prefetchData() { if (!m_mappingManagerInitialized) return; diff --git a/src/imports/location/qdeclarativegeomap_p.h b/src/imports/location/qdeclarativegeomap_p.h index 0089a23b..a36f2991 100644 --- a/src/imports/location/qdeclarativegeomap_p.h +++ b/src/imports/location/qdeclarativegeomap_p.h @@ -114,7 +114,7 @@ public: Q_INVOKABLE void fitViewportToGeoShape(const QVariant &shape); Q_INVOKABLE void fitViewportToMapItems(); Q_INVOKABLE void pan(int dx, int dy); - Q_INVOKABLE void cameraStopped(); // optional hint for prefetch + Q_INVOKABLE void prefetchData(); // optional hint for prefetch QString errorString() const; QGeoServiceProvider::Error error() const; |