summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-02 09:48:54 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-02 09:48:54 (GMT)
commit6e84a270c94376d24392d797f99bc7e95b217a34 (patch)
tree4d7798275534eb2254cab9bd25ce8f50aaa2ba2c /src
parent3b8cad8be96d7791e8ca8305609d1155ec093b80 (diff)
downloadQt-6e84a270c94376d24392d797f99bc7e95b217a34.zip
Qt-6e84a270c94376d24392d797f99bc7e95b217a34.tar.gz
Qt-6e84a270c94376d24392d797f99bc7e95b217a34.tar.bz2
Add "on" syntax to QmlChanges.txt
Diffstat (limited to 'src')
-rw-r--r--src/declarative/QmlChanges.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/declarative/QmlChanges.txt b/src/declarative/QmlChanges.txt
index c312abf..4951cb3 100644
--- a/src/declarative/QmlChanges.txt
+++ b/src/declarative/QmlChanges.txt
@@ -53,6 +53,16 @@ matchProperties and matchTargets have been renamed back to properties and target
The semantics are explained in the PropertyAnimation::properties documentation
and the animation overview documentation.
+Behavior and Animation syntax
+-----------------------------
+
+Previously animations and behaviors could be "assigned" to properties like this:
+ Item { x: Behavior {}; y: NumberAnimation {} }
+To make it more obvious that these are not regular value assignments a new "on"
+syntax has been introduced:
+ Item { Behavior on x {}; NumberAnimation on y {} }
+Only the syntax has changed, the behavior is identical.
+
=============================================================================
The changes below are pre-4.6.0 release.