aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlxmllistmodel/data/threading.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel/data/threading.qml')
-rw-r--r--tests/auto/qml/qqmlxmllistmodel/data/threading.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/data/threading.qml b/tests/auto/qml/qqmlxmllistmodel/data/threading.qml
new file mode 100644
index 0000000000..43672d01ba
--- /dev/null
+++ b/tests/auto/qml/qqmlxmllistmodel/data/threading.qml
@@ -0,0 +1,8 @@
+import QtQml.XmlListModel
+
+XmlListModel {
+ query: "/data/item"
+ XmlListModelRole { name: "name"; elementName: "name" }
+ XmlListModelRole { name: "age"; elementName: "age" }
+ XmlListModelRole { name: "sport"; elementName: "sport" }
+}