summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-05 03:46:28 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-05 03:46:28 (GMT)
commit135a035362939b1c80d504e641f7dcb20f33a17b (patch)
tree169217ce34ba93ae225357796060bf3915524161 /doc
parent8fb2fde2e2474ae2175acdff15e559ed38bb2c38 (diff)
downloadQt-135a035362939b1c80d504e641f7dcb20f33a17b.zip
Qt-135a035362939b1c80d504e641f7dcb20f33a17b.tar.gz
Qt-135a035362939b1c80d504e641f7dcb20f33a17b.tar.bz2
Remove "to" limit on minor version.
QML_DEFINE_TYPE etc. now define just the initial support version, with support in all future versions being thus implied. QTBUG-5421
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.