diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2011-06-08 13:18:35 +1000 |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2011-06-09 10:10:09 +1000 |
commit | ccf706d0bb2d9f70f5a8c18e4aab8ee7e6369817 (patch) | |
tree | 7019d21c843ad3c4e02fdff38d81615b56f56ee0 /doc | |
parent | b8154d2b6b1a6c0145a099554c9166b4d35630fe (diff) |
Optimized QDeclarativeScriptString constructor for QDeclarativeExpression.
When the compiler sees a script string, it will attempt to rewrite it
and store the id for the rewrite in the script string. We can then
create a QDeclarativeExpression using the id, which saves us a rewrite
at runtime.
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index bcf27e1a40..2ce16eea40 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -40,6 +40,9 @@ You can still ignore these events in the handler to let them pass through. The Binding element now restores any previously set binding when its \e when clause becomes false. +QDeclarativeExpression can now be directly (and more efficiently) constructed from a +QDeclarativeScriptString. + \section1 Qt 4.7.4 includes QtQuick 1.1 QtQuick 1.1 is a minor feature update. \e {import QtQuick 1.1} to use the new |