diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-04 21:35:50 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-04 21:35:50 (GMT) |
commit | 819b891df17dc9e7f5e1840c8347abbf3c1f31a7 (patch) | |
tree | c961aeb0ceac22ac9384ed3368cff7f52d545c89 /tests | |
parent | 69b4b690cc26b697675264298623d9974cc76796 (diff) | |
download | Qt-819b891df17dc9e7f5e1840c8347abbf3c1f31a7.zip Qt-819b891df17dc9e7f5e1840c8347abbf3c1f31a7.tar.gz Qt-819b891df17dc9e7f5e1840c8347abbf3c1f31a7.tar.bz2 |
Add missing file.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qmlxmllistmodel/data/model2.qml | 11 |
1 files changed, 11 insertions, 0 deletions
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()" } +} |