summaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgcanvas.h')
-rw-r--r--src/declarative/items/qsgcanvas.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/declarative/items/qsgcanvas.h b/src/declarative/items/qsgcanvas.h
index e5bfaed7a7..8f3b3038f8 100644
--- a/src/declarative/items/qsgcanvas.h
+++ b/src/declarative/items/qsgcanvas.h
@@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
class QSGItem;
-class QSGContext;
+class QSGEngine;
class QSGCanvasPrivate;
class Q_DECLARATIVE_EXPORT QSGCanvas : public QGLWidget
{
@@ -73,6 +73,11 @@ public:
QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
+ QSGEngine *sceneGraphEngine() const;
+
+signals:
+ void sceneGraphInitialized();
+
protected:
QSGCanvas(QSGCanvasPrivate &dd, QWidget *parent = 0, Qt::WindowFlags f = 0);
QSGCanvas(QSGCanvasPrivate &dd, const QGLFormat &format, QWidget *parent = 0, Qt::WindowFlags f = 0);