summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-05 04:03:47 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-05 04:46:23 (GMT)
commit0ef5d89b540be963d1a8131f6625f990a4fe66e8 (patch)
treefe640558b514dc1720525043b954aeafe3d15940 /doc
parent0ced984d3e2cb2a7a1a219ae7a9b09ff4e15a55c (diff)
downloadQt-0ef5d89b540be963d1a8131f6625f990a4fe66e8.zip
Qt-0ef5d89b540be963d1a8131f6625f990a4fe66e8.tar.gz
Qt-0ef5d89b540be963d1a8131f6625f990a4fe66e8.tar.bz2
Particles cleaned up and placed in in qmlgraphics/
API changes: Removed bool streamIn Added int emissionRate Added int emissionVariance Added void burst(count, emissionRate=-1) While rewriting the internals to accomodate this, all other outstanding particles bugs were believed fixed. Task-number: QT-2392 QT-2391 QT-2390 QT-2406
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/advtutorial4.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/advtutorial4.qdoc b/doc/src/declarative/advtutorial4.qdoc
index e30fe84..5f8c0e9 100644
--- a/doc/src/declarative/advtutorial4.qdoc
+++ b/doc/src/declarative/advtutorial4.qdoc
@@ -106,9 +106,9 @@ the block, like so:
\snippet declarative/tutorials/samegame/samegame4/content/BoomBlock.qml 3
-To fully understand this you'll want to look at the Particles element documentation, but it's important to note that count is set
-to zero.
-We next extend the 'dying' state, which triggers the particles by setting the count to non-zero. The code for the states now look
+To fully understand this you'll want to look at the Particles element documentation, but it's important to note that emissionRate is set
+to zero, so that no particles are emitted normally.
+We next extend the 'dying' state, which creates a burst of particles by calling the burst method on the particles element. The code for the states now look
like this:
\snippet declarative/tutorials/samegame/samegame4/content/BoomBlock.qml 4