Fix return value for QQmlJavascriptExpression::evaluate
authorLars Knoll <lars.knoll@digia.com>
Mon, 20 May 2013 18:32:58 +0000 (20:32 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 21 May 2013 08:05:42 +0000 (10:05 +0200)
Change-Id: Idf95ee51b7d50682476371c7f49537930fdf96f1
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmljavascriptexpression.cpp
src/qml/qml/qqmljavascriptexpression_p.h

index b1c68ca..7aa7234 100644 (file)
@@ -107,14 +107,14 @@ void QQmlJavaScriptExpression::resetNotifyOnValueChanged()
     clearGuards();
 }
 
-v8::Handle<v8::Value>
+QV4::Value
 QQmlJavaScriptExpression::evaluate(QQmlContextData *context,
                                    const QV4::Value &function, bool *isUndefined)
 {
     return evaluate(context, function, 0, 0, isUndefined);
 }
 
-v8::Handle<v8::Value>
+QV4::Value
 QQmlJavaScriptExpression::evaluate(QQmlContextData *context,
                                    const QV4::Value &function,
                                    int argc, QV4::Value *args,
index 9888812..be14681 100644 (file)
@@ -109,9 +109,9 @@ public:
 
     QQmlJavaScriptExpression(VTable *vtable);
 
-    v8::Handle<v8::Value> evaluate(QQmlContextData *, const QV4::Value &function,
+    QV4::Value evaluate(QQmlContextData *, const QV4::Value &function,
                                   bool *isUndefined);
-    v8::Handle<v8::Value> evaluate(QQmlContextData *, const QV4::Value &function,
+    QV4::Value evaluate(QQmlContextData *, const QV4::Value &function,
                                   int argc, QV4::Value *args,
                                   bool *isUndefined);