Use the optimized QDeclarativeExpression constructor where possible.
authorMichael Brasser <michael.brasser@nokia.com>
Mon, 29 Aug 2011 05:06:14 +0000 (15:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 29 Aug 2011 06:29:24 +0000 (08:29 +0200)
commitf29bfda2e609f00fad46160495017168094eff7b
tree8378dfb9643e96cbfa1c829c315116af6be0cf20
parent438639f9c40311b51a57b501428d2650f21615cf
Use the optimized QDeclarativeExpression constructor where possible.

Pass in the QDeclarativeScriptString directly, to make use of the
precompiled binding. Also does some minor cleanup of the related
internal implementation.

Change-Id: I4b199298c9da3ee11c51c9c98b384c8324f62c26
Reviewed-on: http://codereview.qt.nokia.com/3696
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
src/declarative/qml/qdeclarativebinding.cpp
src/declarative/qml/qdeclarativeexpression.cpp
src/declarative/util/qdeclarativeanimation.cpp
src/declarative/util/qdeclarativestateoperations.cpp