aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/context2d/qsgcontext2d_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/context2d/qsgcontext2d_p.h')
-rw-r--r--src/declarative/items/context2d/qsgcontext2d_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/items/context2d/qsgcontext2d_p.h b/src/declarative/items/context2d/qsgcontext2d_p.h
index 335d954fc1..f8fc9b75a2 100644
--- a/src/declarative/items/context2d/qsgcontext2d_p.h
+++ b/src/declarative/items/context2d/qsgcontext2d_p.h
@@ -55,7 +55,7 @@
#include <QtCore/qmetatype.h>
#include <QtCore/qcoreevent.h>
#include <QtCore/qvariant.h>
-#include <QtScript/qscriptvalue.h>
+#include <QtDeclarative/qjsvalue.h>
#include <private/qv8engine_p.h>
#include <QMutex>
#include <QWaitCondition>
@@ -323,7 +323,7 @@ public slots:
void paint(QPainter* painter);
void sync();
- void processCommands(const QScriptValue& commands);
+ void processCommands(const QJSValue& commands);
signals:
void changed();
void painted();
@@ -385,7 +385,7 @@ protected:
virtual bool event(QEvent *);
private:
- void processCommand(const QScriptValue& command);
+ void processCommand(const QJSValue& command);
Q_DECLARE_PRIVATE(QSGContext2D)
};