summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-25 23:49:39 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-25 23:49:39 (GMT)
commitf75961dfd20b82f2f5e2a4b7feaf59c841a93f6b (patch)
treee877582a68154144530759450b7fad81be650199 /src/declarative/util
parentc08941ea0780779e6600e03ab0c62ce3461e2660 (diff)
downloadQt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.zip
Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.gz
Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.bz2
Remove some Script {} docs
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativestategroup.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/declarative/util/qdeclarativestategroup.cpp b/src/declarative/util/qdeclarativestategroup.cpp
index 083e87d..bc4582c 100644
--- a/src/declarative/util/qdeclarativestategroup.cpp
+++ b/src/declarative/util/qdeclarativestategroup.cpp
@@ -206,13 +206,11 @@ QDeclarativeListProperty<QDeclarativeTransition> QDeclarativeStateGroup::transit
example:
\qml
- Script {
- function toggle() {
- if (button.state == 'On')
- button.state = 'Off';
- else
- button.state = 'On';
- }
+ function toggle() {
+ if (button.state == 'On')
+ button.state = 'Off';
+ else
+ button.state = 'On';
}
\endqml