diff options
author | Harald Meyer <dev@meh.at> | 2015-10-10 17:01:07 +0200 |
---|---|---|
committer | Harald Meyer <dev@meh.at> | 2015-10-22 05:02:14 +0000 |
commit | 211fd58142a03387b8a693f20a6054a8578e9f8a (patch) | |
tree | 61df325a59ea5af6c3a14684c8b021bc34825202 /src/location/maps/qgeotiledmap.cpp | |
parent | f7d39c4aa2d16c0e7475a301e24818ae50c970c8 (diff) | |
download | qtlocation-211fd58142a03387b8a693f20a6054a8578e9f8a.tar.gz |
Split QGeoTileCache for easier customization of the tile cache.
The QGeoTileCache is split into two classes:
The abstract class QAbstractGeoTileCache offers interfaces for inserting
and getting tiles, as well as getting cache status information such as
used texture memory.
The new class QGeoFileTileCache implements QAbstractGeoTileCache and offers
a file based caching implementation (the implementation is the same
as before splitting the class).
Change-Id: I2eab7491d489ac5b251c1296b67688901f5cc7d7
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeotiledmap.cpp')
-rw-r--r-- | src/location/maps/qgeotiledmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeotiledmap.cpp b/src/location/maps/qgeotiledmap.cpp index 06f5a5e8..d561c011 100644 --- a/src/location/maps/qgeotiledmap.cpp +++ b/src/location/maps/qgeotiledmap.cpp @@ -37,7 +37,7 @@ #include "qgeotiledmap_p_p.h" #include "qgeotiledmappingmanagerengine_p.h" -#include "qgeotilecache_p.h" +#include "qabstractgeotilecache_p.h" #include "qgeotilespec_p.h" #include "qgeocameratiles_p.h" @@ -85,7 +85,7 @@ void QGeoTiledMap::updateTile(const QGeoTileSpec &spec) d->updateTile(spec); } -QGeoTileCache *QGeoTiledMap::tileCache() +QAbstractGeoTileCache *QGeoTiledMap::tileCache() { Q_D(QGeoTiledMap); return d->m_cache; |