aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlexpression_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-24 12:45:13 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-24 12:50:11 +0200
commite598f400d88f21b07e8c50c85e367cacea5a5960 (patch)
tree788a9f0bbfb59a100f490f9bcc73f81fffff9ca6 /src/qml/qml/qqmlexpression_p.h
parentbe4f0622f8c0d89371e9314e2d53c246dd77871b (diff)
Get rid of some v8 based code
Change-Id: Iee910dcc1d3148922d2f92055eb06cdb0b889502 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlexpression_p.h')
-rw-r--r--src/qml/qml/qqmlexpression_p.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qml/qml/qqmlexpression_p.h b/src/qml/qml/qqmlexpression_p.h
index d0e819f7c3..b7f5624fb2 100644
--- a/src/qml/qml/qqmlexpression_p.h
+++ b/src/qml/qml/qqmlexpression_p.h
@@ -55,7 +55,6 @@
#include "qqmlexpression.h"
-#include <private/qv8engine_p.h>
#include <private/qqmlguard_p.h>
#include <private/qqmlengine_p.h>
#include <private/qfieldlist_p.h>
@@ -83,7 +82,7 @@ public:
QVariant value(bool *isUndefined = 0);
- v8::Handle<v8::Value> v8value(bool *isUndefined = 0);
+ QV4::Value v4value(bool *isUndefined = 0);
static inline QQmlExpressionPrivate *get(QQmlExpression *expr);
static inline QQmlExpression *get(QQmlExpressionPrivate *expr);
@@ -99,8 +98,8 @@ public:
QString expression;
- QV4::PersistentValue v8qmlscope;
- QV4::PersistentValue v8function;
+ QV4::PersistentValue qmlscope;
+ QV4::PersistentValue function;
QString url; // This is a QString for a reason. QUrls are slooooooow...
quint16 line;