diff options
author | David Laing <david.laing@nokia.com> | 2012-01-04 11:52:21 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-05 07:05:08 +0100 |
commit | 7c2dc2cb57e426bbf8a37cfba988df7a964c5e94 (patch) | |
tree | d484b9167194881918174698d40d8d13af2313ae /src/location/maps/qgeomappingmanager.h | |
parent | c9de94f6e4013744e03f93ece7fa960cf500eb12 (diff) | |
download | qtlocation-7c2dc2cb57e426bbf8a37cfba988df7a964c5e94.tar.gz |
Renames the new mapping classes.
Also moves them into src/location/maps.
We still need to take a closer look at which classes are
public and which are private, and then do the associated
file renaming and addition of private header warnings.
Change-Id: Ide0225ad5d5dc23834baaa9f6841646e4c92de39
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
Diffstat (limited to 'src/location/maps/qgeomappingmanager.h')
-rw-r--r-- | src/location/maps/qgeomappingmanager.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/location/maps/qgeomappingmanager.h b/src/location/maps/qgeomappingmanager.h index 3c810ddf..84cf62f0 100644 --- a/src/location/maps/qgeomappingmanager.h +++ b/src/location/maps/qgeomappingmanager.h @@ -46,8 +46,8 @@ #include <QSize> #include <QPair> #include <QtLocation/qlocationglobal.h> -#include "maptype.h" -#include "tilecache.h" +#include "qgeomaptype.h" +#include "qgeotilecache.h" QT_BEGIN_HEADER @@ -61,8 +61,8 @@ class QGeoMapRequestOptions; class QGeoMappingManagerEngine; class QGeoTiledMapReply; -class TileSpec; -class Map; +class QGeoTileSpec; +class QGeoMap; class Q_LOCATION_EXPORT QGeoMappingManager : public QObject { @@ -74,14 +74,14 @@ public: QString managerName() const; int managerVersion() const; - void registerMap(Map *map); - void deregisterMap(Map *map); + void registerMap(QGeoMap *map); + void deregisterMap(QGeoMap *map); - void updateTileRequests(Map *map, - const QSet<TileSpec> &tilesAdded, - const QSet<TileSpec> &tilesRemoved); + void updateTileRequests(QGeoMap *map, + const QSet<QGeoTileSpec> &tilesAdded, + const QSet<QGeoTileSpec> &tilesRemoved); - QList<MapType> supportedMapTypes() const; + QList<QGeoMapType> supportedMapTypes() const; // QList<QGraphicsGeoMap::ConnectivityMode> supportedConnectivityModes() const; qreal minimumZoomLevel() const; @@ -94,18 +94,18 @@ public: qreal minimumTilt() const; qreal maximumTilt() const; - TileCache::CacheAreas cacheHint() const; + QGeoTileCache::CacheAreas cacheHint() const; void setLocale(const QLocale &locale); QLocale locale() const; private Q_SLOTS: - void engineTileFinished(const TileSpec &spec, const QByteArray &bytes); - void engineTileError(const TileSpec &spec, const QString &errorString); + void engineTileFinished(const QGeoTileSpec &spec, const QByteArray &bytes); + void engineTileError(const QGeoTileSpec &spec, const QString &errorString); Q_SIGNALS: - void tileFinished(const TileSpec &spec, const QByteArray &bytes); - void tileError(const TileSpec &spec, const QString &errorString); + void tileFinished(const QGeoTileSpec &spec, const QByteArray &bytes); + void tileError(const QGeoTileSpec &spec, const QString &errorString); void initialized(); private: |