aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2012-11-27 14:57:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-27 15:38:11 +0100
commit38919579f68ef6d7071c2b6a1095f44fa6eeceb5 (patch)
tree807f897034a610789b76bbc01dd3fc76853978c2
parenta57de1418d05de57e6dd55cd552a6b8ead79ea34 (diff)
Remove TODO from docs as it doesn't make sense.
Change-Id: If23707d5778c6f97e9c9565ac1c5e23d5729fdc4 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
-rw-r--r--src/qml/doc/src/syntax/propertybinding.qdoc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/doc/src/syntax/propertybinding.qdoc b/src/qml/doc/src/syntax/propertybinding.qdoc
index 06dc7b906c..8afdb8e1d7 100644
--- a/src/qml/doc/src/syntax/propertybinding.qdoc
+++ b/src/qml/doc/src/syntax/propertybinding.qdoc
@@ -74,8 +74,6 @@ height: {
height: someMethodThatReturnsHeight()
\endcode
-###TODO have .gif here that demonstrates the changes?
-
Whenever the value of \c parent.height changes, the QML engine will re-evaluate the above expression and assign the blue rectangle's \c width property with the appropriate updated value.
Bindings can access object properties, call methods and use built-in JavaScript objects such as \c Date and \c Math. Here is an example with various valid bindings:
@@ -105,8 +103,6 @@ Column {
}
\endqml
-###TODO have .gif here that demonstrates the changes?
-
While syntactically bindings can be of arbitrary complexity, if a binding starts to become overly complex - such as involving multiple lines, or imperative loops - it may be better to refactor the component entirely, or at least factor the binding out into a separate function.