diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-08-09 11:49:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-09 07:28:26 +0200 |
commit | 955c2b0f29dc709a5cc7e563c21f0f2cf2370336 (patch) | |
tree | fbfe91cf07bf03664ed6eb2fa0d0d435a076b3e2 /src/qtquick1/util/qdeclarativestate.cpp | |
parent | 8c0c89a72a0ad463bde36c3d36f00cc5914721e1 (diff) |
Copy the docs for QtQuick 1
Change-Id: Iaaaaaaa13726fa471f94fc7f809911164df24544
Reviewed-on: http://codereview.qt.nokia.com/2755
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/qtquick1/util/qdeclarativestate.cpp')
-rw-r--r-- | src/qtquick1/util/qdeclarativestate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qtquick1/util/qdeclarativestate.cpp b/src/qtquick1/util/qdeclarativestate.cpp index 6d96f8d1f7..1be3395c5a 100644 --- a/src/qtquick1/util/qdeclarativestate.cpp +++ b/src/qtquick1/util/qdeclarativestate.cpp @@ -151,7 +151,7 @@ QDeclarative1StateOperation::QDeclarative1StateOperation(QObjectPrivate &dd, QOb between the default state and the "clicked" state, thus toggling the color of the rectangle between black and red. - \snippet doc/src/snippets/declarative/state.qml 0 + \snippet doc/src/snippets/qtquick1/state.qml 0 Notice the default state is referred to using an empty string (""). @@ -217,7 +217,7 @@ bool QDeclarative1State::isWhenKnown() const be applied. For example, the following \l Rectangle changes in and out of the "hidden" state when the \l MouseArea is pressed: - \snippet doc/src/snippets/declarative/state-when.qml 0 + \snippet doc/src/snippets/qtquick1/state-when.qml 0 If multiple states in a group have \c when clauses that evaluate to \c true at the same time, the first matching state will be applied. For example, in |