Remove QJSValue constructors that take QJSEngine argument
authorKent Hansen <kent.hansen@nokia.com>
Tue, 17 Jan 2012 14:42:36 +0000 (15:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 07:10:30 +0000 (08:10 +0100)
commitf4c9823007c6819751c034ecb0110d10f02d4c73
tree3fccc5c5abe39085071edb7e70bad71324e5ce07
parent54c51c89e21800b3a455127b3c19a3c5b30ee319
Remove QJSValue constructors that take QJSEngine argument

Rationale: These were remnants from QtScript.
The difference from the standard constructors is that the value is
eagerly bound to the engine, so they can be a bit faster. But they
are also more low-level and look ugly in use.

Task-number: QTBUG-23604
Change-Id: I5dae7452389383f60055d5ccc4f28d53c52f6092
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
src/declarative/qml/v8/qjsvalue.cpp
src/declarative/qml/v8/qjsvalue.h
tests/auto/declarative/qjsengine/tst_qjsengine.cpp
tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
tests/auto/declarative/qjsvalue/tst_qjsvalue.h
tests/auto/declarative/qjsvalueiterator/tst_qjsvalueiterator.cpp