summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomapcontroller_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-04-10 18:59:31 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-05-04 08:41:37 +0000
commit986110e3a41b0e90ab55fa7d17ef12599c824b56 (patch)
tree32f2c8061621aeb00c5a00fca2f376039411276a /src/location/maps/qgeomapcontroller_p.h
parentca1e96183643f59f95b6b9391d9d4c15bdac4a64 (diff)
downloadqtlocation-986110e3a41b0e90ab55fa7d17ef12599c824b56.tar.gz
Remove QGeoMapData class.
Since QGeoMap class does not have any subclasses, there is no need for keeping the bridge in form of QGeoMapData. This commit basically renames QGeoMapData to be QGeoMap. Change-Id: I6eb2f56f7ea83663034f4a8297e8e8f7f185d6a9 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeomapcontroller_p.h')
-rw-r--r--src/location/maps/qgeomapcontroller_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/location/maps/qgeomapcontroller_p.h b/src/location/maps/qgeomapcontroller_p.h
index f989d22c..06f2b926 100644
--- a/src/location/maps/qgeomapcontroller_p.h
+++ b/src/location/maps/qgeomapcontroller_p.h
@@ -54,7 +54,7 @@
QT_BEGIN_NAMESPACE
-class QGeoMapData;
+class QGeoMap;
class Q_LOCATION_EXPORT QGeoMapController : public QObject
@@ -68,7 +68,7 @@ class Q_LOCATION_EXPORT QGeoMapController : public QObject
Q_PROPERTY(qreal zoom READ zoom WRITE setZoom NOTIFY zoomChanged)
public:
- QGeoMapController(QGeoMapData *map);
+ QGeoMapController(QGeoMap *map);
~QGeoMapController();
QGeoCoordinate center() const;
@@ -103,7 +103,7 @@ Q_SIGNALS:
void zoomChanged(qreal zoom);
private:
- QGeoMapData *map_;
+ QGeoMap *map_;
QGeoCameraData oldCameraData_;
};