summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotiledmap_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-05-18 11:12:16 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-06-04 14:50:51 +0000
commit374077292b4be4a03eb8ca9a6eaae41e4de6f942 (patch)
tree2f56803b02c81337660743720745abe65e923114 /src/location/maps/qgeotiledmap_p.h
parent2d10f0a06c4aa99257cafb6729034f9f843fb31c (diff)
downloadqtlocation-374077292b4be4a03eb8ca9a6eaae41e4de6f942.tar.gz
Fix tile version handling
Here maps plugin checks server for tile version. When tile version is updated, update not only the current camera tiles, but also scene tiles. Task-number: QTBUG-44809 Change-Id: Iedb3add5308a2e61cc18e169e33ea4510e1a4fee Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeotiledmap_p.h')
-rw-r--r--src/location/maps/qgeotiledmap_p.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/location/maps/qgeotiledmap_p.h b/src/location/maps/qgeotiledmap_p.h
index 2dbf1754..2afbc5c9 100644
--- a/src/location/maps/qgeotiledmap_p.h
+++ b/src/location/maps/qgeotiledmap_p.h
@@ -87,13 +87,12 @@ public:
QDoubleVector2D coordinateToItemPosition(const QGeoCoordinate &coordinate, bool clipToViewport = true) const Q_DECL_OVERRIDE;
void prefetchData() Q_DECL_OVERRIDE;
-
protected:
QSGNode *updateSceneGraph(QSGNode *, QQuickWindow *window) Q_DECL_OVERRIDE;
-
-protected Q_SLOTS:
virtual void evaluateCopyrights(const QSet<QGeoTileSpec> &visibleTiles);
- void updateMapVersion();
+
+private Q_SLOTS:
+ void handleTileVersionChanged();
private:
Q_DISABLE_COPY(QGeoTiledMap)