diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-04-13 11:13:48 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-04 08:41:41 +0000 |
commit | 72ecba08268ae8c080b411cfc5117ddcf9b6d0fe (patch) | |
tree | 668dff26ba307d54bc27e8dfdd86fdb44623c60b /src/location/maps/qgeomap_p.h | |
parent | 986110e3a41b0e90ab55fa7d17ef12599c824b56 (diff) | |
download | qtlocation-72ecba08268ae8c080b411cfc5117ddcf9b6d0fe.tar.gz |
Fix PIMPL in QGeoMap.
Use QObjectPrivate as base for QGeoMapPrivate.
Remove not required setters and getters in private class.
Change-Id: I029a77907235b4b0976ad961f1c41b5038da3881
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeomap_p.h')
-rw-r--r-- | src/location/maps/qgeomap_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/location/maps/qgeomap_p.h b/src/location/maps/qgeomap_p.h index 4b30f6bb..caaf3dfe 100644 --- a/src/location/maps/qgeomap_p.h +++ b/src/location/maps/qgeomap_p.h @@ -65,6 +65,7 @@ class QQuickWindow; class Q_LOCATION_EXPORT QGeoMap : public QObject { Q_OBJECT + Q_DECLARE_PRIVATE(QGeoMap) public: QGeoMap(QGeoMappingManagerEngine *engine, QObject *parent = 0); @@ -72,7 +73,7 @@ public: QGeoMapController *mapController(); - virtual QSGNode *updateSceneGraph(QSGNode *, QQuickWindow *window) = 0; + virtual QSGNode *updateSceneGraph(QSGNode *node, QQuickWindow *window) = 0; void resize(int width, int height); int width() const; @@ -108,8 +109,6 @@ Q_SIGNALS: void copyrightsChanged(const QString ©rightsHtml); private: - QGeoMapPrivate *d_ptr; - Q_DECLARE_PRIVATE(QGeoMap) Q_DISABLE_COPY(QGeoMap) }; |