summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-05 04:47:57 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-05 04:47:57 (GMT)
commitf6caaf073408da5c85329fb4849e23f97621ea85 (patch)
tree8a460398e00eda896d4eabc34c40bb1e65f4ce95 /doc
parent0ef5d89b540be963d1a8131f6625f990a4fe66e8 (diff)
parentd39ec85b7e5d8702c2888cdad4ccdae72531c199 (diff)
downloadQt-f6caaf073408da5c85329fb4849e23f97621ea85.zip
Qt-f6caaf073408da5c85329fb4849e23f97621ea85.tar.gz
Qt-f6caaf073408da5c85329fb4849e23f97621ea85.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc')
-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.