summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomap_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-10-11 23:36:27 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2016-11-18 11:41:16 +0000
commitc83bcab54c361feec74a4a74822c6747e3262067 (patch)
treebe8a7724a653c527ba059f3206fab00853dad76e /src/location/maps/qgeomap_p.h
parent44cc951b5e77a1c56a2b0d71815ea92a67aee49e (diff)
downloadqtlocation-c83bcab54c361feec74a4a74822c6747e3262067.tar.gz
QGeoMap/QGeoTiledMap refactoring
This patch does a small refactoring of these classes, removing unused variables and privately exporting QGeoMap/QGeoTiledMap private classes. This is necessary in order to subclass QGeoMap inside a plugin, due to the protected QGeoMap constructor that takes a QGeoMapPrivate reference. If, at a later point, this pattern will be changed, it might also become possible to move the pure virtual methods away from QGeoMapPrivate, and allow QGeoMap subclassing without having access to QGeoMapPrivate. Change-Id: I4178695d4bf1201b0525e20979c440357edab14a Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/location/maps/qgeomap_p.h')
-rw-r--r--src/location/maps/qgeomap_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/location/maps/qgeomap_p.h b/src/location/maps/qgeomap_p.h
index 339d6dfb..c16d35af 100644
--- a/src/location/maps/qgeomap_p.h
+++ b/src/location/maps/qgeomap_p.h
@@ -107,7 +107,6 @@ Q_SIGNALS:
private:
Q_DISABLE_COPY(QGeoMap)
- friend class QGeoMapController; //setCameraData
friend class QDeclarativeGeoMap; //updateSceneGraph
};