aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-09-21 12:54:10 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-21 15:28:01 +0200
commit26e15e877fb7db31928e1e90aa50bca841522711 (patch)
tree35bb6bd886ce82353a008cec7527d63b0f82536b /doc/src
parent43ff44058d75bec6ad1b8a597fe52009c2bee610 (diff)
qmlplugindump: Describe meta object revisions of exported types.
Adds the exportMetaObjectRevisions property to generated qmltypes files. Change-Id: Iafe2fe408c88bb6dd02cbb558404a5f654431248 Reviewed-on: http://codereview.qt-project.org/5311 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/modules.qdoc9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc
index efca620e43..259c77ff3c 100644
--- a/doc/src/declarative/modules.qdoc
+++ b/doc/src/declarative/modules.qdoc
@@ -445,6 +445,13 @@ Module {
"QtQuick/Animation 1.0"
]
+ // The meta object revisions for the exports specified in 'exports'.
+ // Describes with revisioned properties will be visible in an export.
+ // The list must have exactly the same length as the 'exports' list.
+ // For example the 'animations' propery described below will only be
+ // available through the QtQuick/Animation 1.0 export.
+ exportMetaObjectRevisions: [0, 1]
+
Property {
name: "animations";
type: "QDeclarativeAbstractAnimation"
@@ -454,7 +461,7 @@ 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
+ // defaults to 0: the meta object revision that introduced this property
revision: 1
}
Property { name: "loops"; type: "int" }