diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-09-17 13:41:19 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-10-23 06:23:48 +0000 |
commit | 6eb86c06041e55576f619893c2a502c5bfab1aa4 (patch) | |
tree | 9a3844287698618711d95bc52009cbf8e52d1f4e /src/imports/models | |
parent | 35c1f930295c85a1ce4b257fd05d596d378ccff8 (diff) |
Update plugins.qmltypes
Update all plugins.qmltypes except for QtQuick2.
Change-Id: If79b82fa54d159171f45a1bd2e9432c76b3c5686
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/models')
-rw-r--r-- | src/imports/models/models.pro | 2 | ||||
-rw-r--r-- | src/imports/models/plugins.qmltypes | 54 |
2 files changed, 51 insertions, 5 deletions
diff --git a/src/imports/models/models.pro b/src/imports/models/models.pro index 6a2952cd82..c94ba833ad 100644 --- a/src/imports/models/models.pro +++ b/src/imports/models/models.pro @@ -1,7 +1,7 @@ CXX_MODULE = qml TARGET = modelsplugin TARGETPATH = QtQml/Models.2 -IMPORT_VERSION = 2.2 +IMPORT_VERSION = 2.3 SOURCES += \ plugin.cpp diff --git a/src/imports/models/plugins.qmltypes b/src/imports/models/plugins.qmltypes index e81a971e79..0bd52a13fd 100644 --- a/src/imports/models/plugins.qmltypes +++ b/src/imports/models/plugins.qmltypes @@ -1,12 +1,13 @@ -import QtQuick.tooling 1.1 +import QtQuick.tooling 1.2 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQml.Models 2.2' +// 'qmlplugindump -nonrelocatable QtQml.Models 2.3' Module { + dependencies: [] Component { name: "QAbstractItemModel" prototype: "QObject" @@ -527,10 +528,55 @@ Module { name: "QQmlObjectModel" defaultProperty: "children" prototype: "QQmlInstanceModel" - exports: ["QtQml.Models/ObjectModel 2.1"] - exportMetaObjectRevisions: [0] + exports: [ + "QtQml.Models/ObjectModel 2.1", + "QtQml.Models/ObjectModel 2.3" + ] + exportMetaObjectRevisions: [0, 3] attachedType: "QQmlObjectModelAttached" Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + Method { name: "clear"; revision: 3 } + Method { + name: "get" + revision: 3 + type: "QObject*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "append" + revision: 3 + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "insert" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "move" + revision: 3 + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "move" + revision: 3 + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "remove" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "remove" + revision: 3 + Parameter { name: "index"; type: "int" } + } } Component { name: "QQmlObjectModelAttached" |