diff options
author | Harald Meyer <dev@meh.at> | 2015-10-24 16:58:27 +0200 |
---|---|---|
committer | Harald Meyer <dev@meh.at> | 2015-10-26 08:42:07 +0000 |
commit | 60874a570beaf3b8612161339c6b2b66d6d0dc09 (patch) | |
tree | e97c3e9c6275670b4215f3c621e519792d70b080 /src/location/maps/qabstractgeotilecache_p.h | |
parent | 211fd58142a03387b8a693f20a6054a8578e9f8a (diff) | |
download | qtlocation-60874a570beaf3b8612161339c6b2b66d6d0dc09.tar.gz |
Added method to set the map cache
This update adds a new method "setTileCache" to the
QGeoTiledMappingManagerEngine class. The method allows custom
map implementations to set their own cache.
The update also fixes a compiler warning (ctor variable order) and
adds Q_DECL_OVERRIDE checks.
Change-Id: I22cfdb218ae5c9af145d688f11aab655f4ed3e4b
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/maps/qabstractgeotilecache_p.h b/src/location/maps/qabstractgeotilecache_p.h index a679b430..e368066f 100644 --- a/src/location/maps/qabstractgeotilecache_p.h +++ b/src/location/maps/qabstractgeotilecache_p.h @@ -87,7 +87,6 @@ class Q_LOCATION_EXPORT QAbstractGeoTileCache : public QObject { Q_OBJECT public: - QAbstractGeoTileCache(QObject *parent = 0); virtual ~QAbstractGeoTileCache(); virtual void setMaxDiskUsage(int diskUsage); @@ -115,6 +114,8 @@ public: static QString baseCacheDirectory(); protected: + QAbstractGeoTileCache(QObject *parent = 0); + virtual void printStats() = 0; }; |