summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomapscene_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-04-28 15:00:12 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-28 06:38:35 +0000
commitd56ef8c59f01439a32d9a5dc6f9d2942451d303a (patch)
treeb7a8155445aa0db849b20ee448773405a1fcdd91 /src/location/maps/qgeomapscene_p.h
parent92d684aadda7f670643222b9cda4d368f2a82cb2 (diff)
downloadqtlocation-d56ef8c59f01439a32d9a5dc6f9d2942451d303a.tar.gz
Cleanup QGeoMapScene class
This commit: * renames class members to use m_ naming convention * removes not required includes * updates PIMPL Change-Id: Id9d1087389df0a5e314353b4220330934910b364 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeomapscene_p.h')
-rw-r--r--src/location/maps/qgeomapscene_p.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/location/maps/qgeomapscene_p.h b/src/location/maps/qgeomapscene_p.h
index 25d41955..a4a9e4e4 100644
--- a/src/location/maps/qgeomapscene_p.h
+++ b/src/location/maps/qgeomapscene_p.h
@@ -48,39 +48,29 @@
//
#include <QObject>
-#include <QSet>
-#include <QSharedPointer>
-#include <QSize>
#include <QtLocation/qlocationglobal.h>
-#include <QtPositioning/private/qdoublevector2d_p.h>
QT_BEGIN_NAMESPACE
-class QGeoCoordinate;
class QGeoCameraData;
class QGeoTileSpec;
-
class QDoubleVector2D;
-
class QGeoTileTexture;
-
class QSGNode;
class QQuickWindow;
-
-class QPointF;
-
class QGeoMapScenePrivate;
class Q_LOCATION_EXPORT QGeoMapScene : public QObject
{
Q_OBJECT
+ Q_DECLARE_PRIVATE(QGeoMapScene)
public:
- QGeoMapScene();
+ explicit QGeoMapScene(QObject *parent = 0);
virtual ~QGeoMapScene();
void setScreenSize(const QSize &size);
void setTileSize(int tileSize);
- void setCameraData(const QGeoCameraData &cameraData_);
+ void setCameraData(const QGeoCameraData &cameraData);
void setVisibleTiles(const QSet<QGeoTileSpec> &tiles);
@@ -100,8 +90,6 @@ Q_SIGNALS:
void newTilesVisible(const QSet<QGeoTileSpec> &newTiles);
private:
- QGeoMapScenePrivate *d_ptr;
- Q_DECLARE_PRIVATE(QGeoMapScene)
Q_DISABLE_COPY(QGeoMapScene)
};