summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
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/graphicsitems
parentc08941ea0780779e6600e03ab0c62ce3461e2660 (diff)
downloadQt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.zip
Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.gz
Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.bz2
Remove some Script {} docs
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index f575fdb..dd6056e 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -1575,7 +1575,7 @@ void QDeclarativeItemPrivate::parentProperty(QObject *o, void *rv, QDeclarativeN
Item {
Text {}
Rectangle {}
- Script {}
+ Timer {}
}
\endqml
@@ -1587,7 +1587,7 @@ void QDeclarativeItemPrivate::parentProperty(QObject *o, void *rv, QDeclarativeN
Rectangle {}
]
resources: [
- Script {}
+ Timer {}
]
}
\endqml
@@ -2356,13 +2356,11 @@ QDeclarativeListProperty<QDeclarativeTransition> QDeclarativeItem::transitions()
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