diff options
Diffstat (limited to 'src/declarative/items/qsgcanvasitem_p.h')
-rw-r--r-- | src/declarative/items/qsgcanvasitem_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/items/qsgcanvasitem_p.h b/src/declarative/items/qsgcanvasitem_p.h index b501901569..1845a6ac99 100644 --- a/src/declarative/items/qsgcanvasitem_p.h +++ b/src/declarative/items/qsgcanvasitem_p.h @@ -43,6 +43,7 @@ #define QSGCANVASITEM_P_H #include "qsgpainteditem.h" +#include <private/qv8engine_p.h> #define QSGCANVASITEM_DEBUG //enable this for just DEBUG purpose! @@ -55,7 +56,6 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE QT_MODULE(Declarative) -class QScriptValue; class QSGContext2D; class QSGCanvasItemPrivate; class QSGCanvasItem : public QSGPaintedItem @@ -69,7 +69,7 @@ signals: void canvasUpdated(); public Q_SLOTS: QString toDataURL(const QString& type = QLatin1String("image/png")) const; - QScriptValue getContext(const QString & = QLatin1String("2d")); + QDeclarativeV8Handle getContext(const QString & = QLatin1String("2d")); void requestPaint(); // Save current canvas to disk |