diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-03-10 10:33:34 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-03-10 10:33:34 (GMT) |
commit | 0d6d25e6796a85ea44d982a8ec618d920371c7a9 (patch) | |
tree | 71b497a5370b0707b4da324b6918bce7f4901879 /src/declarative/qml/qdeclarativeexpression.cpp | |
parent | 878c2a984b78cdfc88e4474f6719f07662c7ac68 (diff) | |
parent | 12d63b05a942281e688d857d17c190564c77b698 (diff) | |
download | Qt-0d6d25e6796a85ea44d982a8ec618d920371c7a9.zip Qt-0d6d25e6796a85ea44d982a8ec618d920371c7a9.tar.gz Qt-0d6d25e6796a85ea44d982a8ec618d920371c7a9.tar.bz2 |
Merge remote branch 'qt/4.7' into qml-4.7
Conflicts:
src/declarative/util/qdeclarativestateoperations.cpp
Diffstat (limited to 'src/declarative/qml/qdeclarativeexpression.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeexpression.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/declarative/qml/qdeclarativeexpression.cpp b/src/declarative/qml/qdeclarativeexpression.cpp index 207ded6..5ff22f7 100644 --- a/src/declarative/qml/qdeclarativeexpression.cpp +++ b/src/declarative/qml/qdeclarativeexpression.cpp @@ -512,19 +512,20 @@ bool QDeclarativeExpression::notifyOnValueChanged() const } /*! -Sets whether the valueChanged() signal is emitted when the expression's evaluated -value changes. - -If true, the QDeclarativeExpression will monitor properties involved in the expression's -evaluation, and emit QDeclarativeExpression::valueChanged() if they have changed. This allows -an application to ensure that any value associated with the result of the expression -remains up to date. - -If false, the QDeclarativeExpression will not montitor properties involved in the expression's -evaluation, and QDeclarativeExpression::valueChanged() will never be emitted. This is more efficient -if an application wants a "one off" evaluation of the expression. - -By default, notifyOnChange is false. + Sets whether the valueChanged() signal is emitted when the + expression's evaluated value changes. + + If \a notifyOnChange is true, the QDeclarativeExpression will + monitor properties involved in the expression's evaluation, and emit + QDeclarativeExpression::valueChanged() if they have changed. This + allows an application to ensure that any value associated with the + result of the expression remains up to date. + + If \a notifyOnChange is false (default), the QDeclarativeExpression + will not montitor properties involved in the expression's + evaluation, and QDeclarativeExpression::valueChanged() will never be + emitted. This is more efficient if an application wants a "one off" + evaluation of the expression. */ void QDeclarativeExpression::setNotifyOnValueChanged(bool notifyOnChange) { |