aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml')
-rw-r--r--tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml b/tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml
new file mode 100644
index 0000000000..3b3e77d726
--- /dev/null
+++ b/tests/auto/qml/qqmlxmllistmodel/data/propertychanges.qml
@@ -0,0 +1,10 @@
+import QtQml.XmlListModel
+
+XmlListModel {
+ source: "model.xml"
+ query: "/Pets/Pet"
+ XmlListModelRole { objectName: "role"; name: "name"; elementName: "name" }
+ XmlListModelRole { name: "type"; elementName: "type" }
+ XmlListModelRole { name: "age"; elementName: "age" }
+ XmlListModelRole { name: "size"; elementName: "size" }
+}