summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmllanguage/data
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-01-21 03:40:03 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-01-21 03:40:03 (GMT)
commit11db0632758db443c3fb336dae23da83a358e73d (patch)
tree40bb3b87c28a41d8dc5686aa00e59c27937064b5 /tests/auto/declarative/qmllanguage/data
parentdb0cfede616fbed94333615d1f6c1fabad46d088 (diff)
downloadQt-11db0632758db443c3fb336dae23da83a358e73d.zip
Qt-11db0632758db443c3fb336dae23da83a358e73d.tar.gz
Qt-11db0632758db443c3fb336dae23da83a358e73d.tar.bz2
Allow composite value sources
Diffstat (limited to 'tests/auto/declarative/qmllanguage/data')
-rw-r--r--tests/auto/declarative/qmllanguage/data/MyCompositeValueSource.qml6
-rw-r--r--tests/auto/declarative/qmllanguage/data/propertyValueSource.2.qml5
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmllanguage/data/MyCompositeValueSource.qml b/tests/auto/declarative/qmllanguage/data/MyCompositeValueSource.qml
new file mode 100644
index 0000000..e620e26
--- /dev/null
+++ b/tests/auto/declarative/qmllanguage/data/MyCompositeValueSource.qml
@@ -0,0 +1,6 @@
+import Test 1.0
+
+MyPropertyValueSource {
+ property int x
+}
+
diff --git a/tests/auto/declarative/qmllanguage/data/propertyValueSource.2.qml b/tests/auto/declarative/qmllanguage/data/propertyValueSource.2.qml
new file mode 100644
index 0000000..57a6070
--- /dev/null
+++ b/tests/auto/declarative/qmllanguage/data/propertyValueSource.2.qml
@@ -0,0 +1,5 @@
+import Test 1.0
+MyTypeObject {
+ intProperty : MyCompositeValueSource {}
+}
+