From 819b891df17dc9e7f5e1840c8347abbf3c1f31a7 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Thu, 5 Nov 2009 07:35:50 +1000 Subject: Add missing file. --- tests/auto/declarative/qmlxmllistmodel/data/model2.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/auto/declarative/qmlxmllistmodel/data/model2.qml diff --git a/tests/auto/declarative/qmlxmllistmodel/data/model2.qml b/tests/auto/declarative/qmlxmllistmodel/data/model2.qml new file mode 100644 index 0000000..140e0ad --- /dev/null +++ b/tests/auto/declarative/qmlxmllistmodel/data/model2.qml @@ -0,0 +1,11 @@ +import Qt 4.6 + +XmlListModel { + source: "model.xml" + query: "/Pets/Pet" + XmlRole { name: "name"; query: "name/string()" } + XmlRole { name: "type"; query: "type/string()" } + XmlRole { name: "age"; query: "age/number()" } + XmlRole { name: "size"; query: "size/string()" } + XmlRole { name: "tricks"; query: "tricks/string()" } +} -- cgit v0.12