aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml b/tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml
new file mode 100644
index 0000000000..83deffd684
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/generalizedGroupedProperty.qml
@@ -0,0 +1,29 @@
+import QtQml
+import Test
+
+QtObject {
+ id: root
+ objectName: "foo"
+ signal something()
+
+ property QtObject child: ImmediateProperties {
+ id: child
+ objectName: "barrrrr"
+ root.objectName: objectName + " ..."
+ root.onSomething: objectName = "rabrab"
+ }
+
+ property QtObject meanChild: ImmediateProperties {
+ child.objectName: "bar"
+ }
+
+ property ImmediateProperties deferred: ImmediateProperties {
+ id: aaa
+ objectName: "holz"
+ root.objectName: objectName + " ..."
+ }
+
+ property ImmediateProperties meanDeferred: ImmediateProperties {
+ aaa.objectName: "stein"
+ }
+}