diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-11 14:47:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 13:13:23 +0200 |
commit | d6837e9ca301e7b6c792e3d24db14fb7bab2db60 (patch) | |
tree | b0afdc2e224d8f28ec6f9fb516d0ad2cb63c4908 /tests/auto | |
parent | 002e6105f61269f1474de878ccdb26205e5b226e (diff) |
Rename QV4::ValueScope to QV4::Scope
The class is going to be used all over the place, so let's
give it a short name :)
Change-Id: If61543cb2c885e7fbb95c8fc4d0e870097c352ed
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index caff36cf0d..24478417d5 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -2273,7 +2273,7 @@ static inline bool evaluate_error(QV8Engine *engine, const QV4::Value &o, const QV4::FunctionObject *function = program.run().asFunctionObject(); if (!function) return false; - QV4::ValueScope scope(ctx); + QV4::Scope scope(ctx); QV4::ScopedCallData d(scope, 1); d->args[0] = o; d->thisObject = engine->global(); @@ -2299,7 +2299,7 @@ static inline bool evaluate_value(QV8Engine *engine, const QV4::Value &o, QV4::FunctionObject *function = program.run().asFunctionObject(); if (!function) return false; - QV4::ValueScope scope(ctx); + QV4::Scope scope(ctx); QV4::ScopedValue value(scope); QV4::ScopedValue res(scope, result); QV4::ScopedCallData d(scope, 1); @@ -2326,7 +2326,7 @@ static inline QV4::Value evaluate(QV8Engine *engine, const QV4::Value & o, QV4::FunctionObject *function = program.run().asFunctionObject(); if (!function) return QV4::Value::emptyValue(); - QV4::ValueScope scope(ctx); + QV4::Scope scope(ctx); QV4::ScopedCallData d(scope, 1); d->args[0] = o; d->thisObject = engine->global(); |