summaryrefslogtreecommitdiff
path: root/src/location/maps/qabstractgeotilecache_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-11-18 19:21:21 +0100
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-12-07 11:11:37 +0000
commite70502b14a6b78067c18a4645570c077453c34ea (patch)
treee93850d0ee06cd1d1b220e123dea81f6eb630739 /src/location/maps/qabstractgeotilecache_p.h
parent3faac8cc62a9101902baebbda348e7da9921cce4 (diff)
downloadqtlocation-e70502b14a6b78067c18a4645570c077453c34ea.tar.gz
Add clearData() call to map qml api
Add clearData call to clear texture, memory and disk cache. Update mapviewer example and add "prefetchData" and "clearData" to Tools menu. Task-number: QTBUG-47292 Change-Id: Ifc71a3652688d1403f5b011ef231b59381c17ee3 Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qabstractgeotilecache_p.h')
-rw-r--r--src/location/maps/qabstractgeotilecache_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qabstractgeotilecache_p.h b/src/location/maps/qabstractgeotilecache_p.h
index e368066f..141aa9b4 100644
--- a/src/location/maps/qabstractgeotilecache_p.h
+++ b/src/location/maps/qabstractgeotilecache_p.h
@@ -102,6 +102,7 @@ public:
virtual int maxTextureUsage() const = 0;
virtual int minTextureUsage() const = 0;
virtual int textureUsage() const = 0;
+ virtual void clearAll() = 0;
virtual QSharedPointer<QGeoTileTexture> get(const QGeoTileSpec &spec) = 0;