aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-07-05 13:48:03 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-06 11:59:24 +0200
commit12b173b225c9c4960af62074c102a00f18b0fca4 (patch)
treeda467e4b52285a9e73d47a6daceea77c283b1115 /doc/src
parent29c4b643272a43022081cce063394bac823ab529 (diff)
qmlplugindump: Update qmltypes file format documentation.
(cherry picked from commit bdae42967cd7fa9eb0182e1f25c1e743f35835f7) Change-Id: Ia83eb42ad11f937b2977a53ee0f89c2e1b157278 Reviewed-on: http://codereview.qt.nokia.com/1164 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/modules.qdoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc
index 80d83a40d2..efca620e43 100644
--- a/doc/src/declarative/modules.qdoc
+++ b/doc/src/declarative/modules.qdoc
@@ -407,7 +407,7 @@ In case you have to create a qmltypes file manually or need to adjust
an existing one, this is the file format:
\qml
-import QtQuick.tooling 1.0
+import QtQuick.tooling 1.1
// There always is a single Module object that contains all
// Component objects.
@@ -454,6 +454,8 @@ Module {
isPointer: true
// defaults to false: whether the type actually is a QDeclarativeListProperty<type>
isList: true
+ // defaults to 0: the minor version that introduced this property
+ revision: 1
}
Property { name: "loops"; type: "int" }
Property { name: "name"; type: "string" }
@@ -471,7 +473,7 @@ Module {
// declarations also support the isReadonly, isPointer and isList
// attributes which mean the same as for Property
Method { name: "restart" }
- Signal { name: "started" }
+ Signal { name: "started"; revision: 2 }
Signal {
name: "runningChanged"
Parameter { type: "bool" }