aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/xmllistmodel
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/xmllistmodel')
-rw-r--r--src/imports/xmllistmodel/plugins.qmltypes55
-rw-r--r--src/imports/xmllistmodel/qmldir1
-rw-r--r--src/imports/xmllistmodel/xmllistmodel.pro1
3 files changed, 57 insertions, 0 deletions
diff --git a/src/imports/xmllistmodel/plugins.qmltypes b/src/imports/xmllistmodel/plugins.qmltypes
new file mode 100644
index 0000000000..281a2adf05
--- /dev/null
+++ b/src/imports/xmllistmodel/plugins.qmltypes
@@ -0,0 +1,55 @@
+import QtQuick.tooling 1.1
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated with the command 'qmlplugindump QtQuick.XmlListModel 2.0'.
+
+Module {
+ Component {
+ name: "QQuickXmlListModel"
+ defaultProperty: "roles"
+ prototype: "QAbstractListModel"
+ exports: ["XmlListModel 2.0"]
+ Enum {
+ name: "Status"
+ values: {
+ "Null": 0,
+ "Ready": 1,
+ "Loading": 2,
+ "Error": 3
+ }
+ }
+ Property { name: "status"; type: "Status"; isReadonly: true }
+ Property { name: "progress"; type: "double"; isReadonly: true }
+ Property { name: "source"; type: "QUrl" }
+ Property { name: "xml"; type: "string" }
+ Property { name: "query"; type: "string" }
+ Property { name: "namespaceDeclarations"; type: "string" }
+ Property { name: "roles"; type: "QQuickXmlListModelRole"; isList: true; isReadonly: true }
+ Property { name: "count"; type: "int"; isReadonly: true }
+ Signal {
+ name: "statusChanged"
+ Parameter { type: "QQuickXmlListModel::Status" }
+ }
+ Signal {
+ name: "progressChanged"
+ Parameter { name: "progress"; type: "double" }
+ }
+ Method { name: "reload" }
+ Method {
+ name: "get"
+ type: "QQmlV8Handle"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method { name: "errorString"; type: "string" }
+ }
+ Component {
+ name: "QQuickXmlListModelRole"
+ prototype: "QObject"
+ exports: ["XmlRole 2.0"]
+ Property { name: "name"; type: "string" }
+ Property { name: "query"; type: "string" }
+ Property { name: "isKey"; type: "bool" }
+ }
+}
diff --git a/src/imports/xmllistmodel/qmldir b/src/imports/xmllistmodel/qmldir
index 945d15ac9f..390117111d 100644
--- a/src/imports/xmllistmodel/qmldir
+++ b/src/imports/xmllistmodel/qmldir
@@ -1,2 +1,3 @@
module QtQuick.XmlListModel
plugin qmlxmllistmodelplugin
+typeinfo plugins.qmltypes
diff --git a/src/imports/xmllistmodel/xmllistmodel.pro b/src/imports/xmllistmodel/xmllistmodel.pro
index 09d5666919..4984fd042d 100644
--- a/src/imports/xmllistmodel/xmllistmodel.pro
+++ b/src/imports/xmllistmodel/xmllistmodel.pro
@@ -1,6 +1,7 @@
CXX_MODULE = qml
TARGET = qmlxmllistmodelplugin
TARGETPATH = QtQuick/XmlListModel
+IMPORT_VERSION = 2.0
QT += network qml xmlpatterns qml-private v8-private core-private