Use minimal javascript expression for bound signals
authorChris Adams <christopher.adams@nokia.com>
Tue, 27 Mar 2012 06:56:08 +0000 (16:56 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 22:40:48 +0000 (00:40 +0200)
commit53d5deb5034bf5adb8719723bc66eb3a61638a32
tree011c99abcadf6c4ef723586e25c8f56cd6f3b113
parente4baefacff3e04ea3b599c5279e883d75d2ad489
Use minimal javascript expression for bound signals

Previously, QQmlBoundSignal used QQmlExpression internally.  This
commit adds a new, more optimal QQmlJavaScriptExpression subclass
specifically designed for QQmlBoundSignal, and converts the code
to use it instead of QQmlExpression where appropriate.

Task-number: QTBUG-24460
Change-Id: I2865a119ce840235e27a7722d8052ca61c265f69
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
17 files changed:
src/qml/debugger/qqmlenginedebugservice.cpp
src/qml/debugger/qqmlprofilerservice_p.h
src/qml/qml/qqmlabstractexpression_p.h
src/qml/qml/qqmlboundsignal.cpp
src/qml/qml/qqmlboundsignal_p.h
src/qml/qml/qqmlexpression.cpp
src/qml/qml/qqmlexpression_p.h
src/qml/qml/qqmlproperty.cpp
src/qml/qml/qqmlproperty_p.h
src/qml/qml/qqmlrewrite.cpp
src/qml/qml/qqmlrewrite_p.h
src/qml/qml/qqmlvme.cpp
src/quick/util/qquickconnections.cpp
src/quick/util/qquickpropertychanges.cpp
tests/auto/qml/debugger/qqmlenginedebugservice/tst_qqmlenginedebugservice.cpp
tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
tools/qmlprofiler/qmlprofiler.pro