summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-05 05:01:16 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-05 05:01:16 (GMT)
commit085dd75830357b359abf53b7d37c049cdd17977c (patch)
tree67795686c5afdeac7d1eebde5a66dfa330353283 /doc/src
parentaa6f6174374e0abfe94f37ccefce2d0e2b5fe13e (diff)
parente4e3b8f336b6c7d0dd52d4b8af96fee1dc628783 (diff)
downloadQt-085dd75830357b359abf53b7d37c049cdd17977c.zip
Qt-085dd75830357b359abf53b7d37c049cdd17977c.tar.gz
Qt-085dd75830357b359abf53b7d37c049cdd17977c.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/advtutorial4.qdoc6
-rw-r--r--doc/src/declarative/modules.qdoc12
2 files changed, 10 insertions, 8 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
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc
index 2f7cb57..1491fea 100644
--- a/doc/src/declarative/modules.qdoc
+++ b/doc/src/declarative/modules.qdoc
@@ -91,14 +91,16 @@ mapping from all type names to versioned QML files. It is a list of lines of the
\code
# <Comment>
-<TypeName> <VersionRange> <File>
+<TypeName> <InitialVersion> <File>
\endcode
-<TypeName> is the type being made available; <VersionRange> is either a single version
-number like \c 4.0 or a range of minor versions like \c 4.0-2; <File> is the (relative)
+<TypeName> is the type being made available; <InitialVersion> is a version
+number like \c 4.0; <File> is the (relative)
file name of the QML file defining the type.
-The same type can be provided by different files in different versions.
-If a type is in multiple major versions, it should be listed on a separate line.
+
+The same type can be provided by different files in different versions, in which
+case later earlier versions (eg. 1.2) must precede earlier versions (eg. 1.0),
+since the \e first name-version match is used.
Installed files do not need to import the module of which they are a part, as they can refer
to the other QML files in the module as relative (local) files.