diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-10-23 16:09:41 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-10-26 12:44:42 +0100 |
commit | 1c594efacc3290437b0c20723746fd755efecd02 (patch) | |
tree | a6f16b3ace34766f9ce724e38e5fc0136a0077fe /src/imports/builtins/builtins.qmltypes | |
parent | bae83ce8403a4129da6660bfc0b0ea959572dc59 (diff) |
qml: Move more types into builtins.qmltypes
Change-Id: Id2795f16af99870f32266f81228890a9d12c86a7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports/builtins/builtins.qmltypes')
-rw-r--r-- | src/imports/builtins/builtins.qmltypes | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/imports/builtins/builtins.qmltypes b/src/imports/builtins/builtins.qmltypes index 667e06a6ec..29a04b3c4b 100644 --- a/src/imports/builtins/builtins.qmltypes +++ b/src/imports/builtins/builtins.qmltypes @@ -12,6 +12,42 @@ Module { exports: ["QML/var 1.0", "QML/variant 1.0"] exportMetaObjectRevisions: [256] } + + Component { + name: "QObject" + accessSemantics: "reference" + exports: [ "QML/QtObject 1.0"] + + exportMetaObjectRevisions: [256] + Method { name: "toString"; type: "string" } + Method { name: "destroy" } + Method { + name: "destroy" + Parameter { name: "delay"; type: "int" } + } + } + + Component { + name: "QQmlComponent" + + accessSemantics: "reference" + prototype: "QObject" + exports: [ "QML/Component 1.0" ] + + exportMetaObjectRevisions: [256] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { name: "status"; type: "Status"; isReadonly: true } + + Signal { + name: "statusChanged" + Parameter { type: "QQmlComponent::Status" } + } + Method { name: "errorString"; type: "string" } + } + Component { name: "Number" // is a singleton, but its constructor can construct NumberPrototype objects... |