diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-01-05 03:57:17 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-01-05 03:57:17 (GMT) |
commit | ffd499eb6ff64df1833625f64dbbf92e0e0746d4 (patch) | |
tree | cb1dcd382fe2e76638cf853c96cf0316cce65636 /tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml | |
parent | 3f80a24c5d375dd173d18c2a4227301f1afba2e3 (diff) | |
download | Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.zip Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.tar.gz Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.tar.bz2 |
Support property/method versions in QML
Use metaobject revisioning to exclude properties/revisions added in
later versions from interfering with earlier versions.
Task-number: QTBUG-13451
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml b/tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml new file mode 100644 index 0000000..f107356 --- /dev/null +++ b/tests/auto/declarative/qdeclarativelanguage/data/revisionssub11.qml @@ -0,0 +1,12 @@ +import QtQuick 1.0 +import Test 1.1 + +MyRevisionedSubclass +{ + prop1: 10 + prop2: 10 + prop3: 10 + prop4: 10 + + onSignal4: prop4 = 2 +} |