diff options
Diffstat (limited to 'src/imports/location/qdeclarative3dgraphicsgeomap_p.h')
-rw-r--r-- | src/imports/location/qdeclarative3dgraphicsgeomap_p.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/imports/location/qdeclarative3dgraphicsgeomap_p.h b/src/imports/location/qdeclarative3dgraphicsgeomap_p.h index 9ea2183e..b83b4cef 100644 --- a/src/imports/location/qdeclarative3dgraphicsgeomap_p.h +++ b/src/imports/location/qdeclarative3dgraphicsgeomap_p.h @@ -48,6 +48,13 @@ #include <QGeoMapData> #include "qdeclarativegeomapobject_p.h" +class QGLPainter; +class QGLSceneNode; +class TileCache; +class Tile; +class TileSpec; +class TileSphere; + QTM_BEGIN_NAMESPACE class QGeoCoordinate; @@ -97,11 +104,6 @@ public: // From QDeclarativeParserStatus virtual void componentComplete(); - // From QGraphicsItem - //void paint(QPainter *painter, - // const QStyleOptionGraphicsItem *option, - // QWidget *widget); - // From QSGPaintedItem virtual void paint (QPainter *painter); void setPlugin(QDeclarativeGeoServiceProvider *plugin); @@ -201,6 +203,12 @@ private: QDeclarativeGeoMapMouseArea* activeMouseArea_; QList<QDeclarativeGeoMapMouseArea*> mouseAreas_; + void paintGL(QGLPainter *painter); + void earlyDraw(QGLPainter *painter); + TileCache *tileCache_; + TileSphere *tileSphere_; + QGLSceneNode *sceneNode_; + friend class QDeclarativeGeoMapObjectView; Q_DISABLE_COPY(QDeclarative3DGraphicsGeoMap) }; |