summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-05 03:57:09 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-05 03:57:09 (GMT)
commitd39ec85b7e5d8702c2888cdad4ccdae72531c199 (patch)
treef38aa46e3c0d9c6432d9175d1511f1ac0d4de940 /doc/src/declarative
parent43163cec2bcf9012944b445b393f6f8a6e895138 (diff)
parentdeca6c1c9885554e4e51ebd6dafdd78a424904e4 (diff)
downloadQt-d39ec85b7e5d8702c2888cdad4ccdae72531c199.zip
Qt-d39ec85b7e5d8702c2888cdad4ccdae72531c199.tar.gz
Qt-d39ec85b7e5d8702c2888cdad4ccdae72531c199.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/modules.qdoc12
1 files changed, 7 insertions, 5 deletions
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.