summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-04-01 02:53:05 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2011-04-04 00:55:20 (GMT)
commit05f3920562e7a718492bed61a48c0058b65a0d5d (patch)
treedb16a81648ea8e6dd456f21ececf5d88ed627479 /src/declarative/util
parent538a415b8296db36355609d6e84137b9354967a7 (diff)
downloadQt-05f3920562e7a718492bed61a48c0058b65a0d5d.zip
Qt-05f3920562e7a718492bed61a48c0058b65a0d5d.tar.gz
Qt-05f3920562e7a718492bed61a48c0058b65a0d5d.tar.bz2
Document using Behaviors with States.
Change-Id: I74f163cef8caa16cccb158061ec30ffb4e471fd1 Task-number: QTBUG-16856 Reviewed-by: Bea Lam
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativebehavior.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativebehavior.cpp b/src/declarative/util/qdeclarativebehavior.cpp
index e584476..84f929c 100644
--- a/src/declarative/util/qdeclarativebehavior.cpp
+++ b/src/declarative/util/qdeclarativebehavior.cpp
@@ -72,7 +72,7 @@ public:
/*!
\qmlclass Behavior QDeclarativeBehavior
- \ingroup qml-animation-transition
+ \ingroup qml-animation-transition
\since 4.7
\brief The Behavior element allows you to specify a default animation for a property change.
@@ -91,7 +91,8 @@ public:
If a \l{QML States}{state change} has a \l Transition that matches the same property as a
Behavior, the \l Transition animation overrides the Behavior for that
- state change.
+ state change. For general advice on using Behaviors to animate state changes, see
+ \l{Using QML Behaviors with States}.
\sa {QML Animation}, {declarative/animation/behaviors}{Behavior example}, QtDeclarative
*/