diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-22 17:45:48 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-24 16:49:06 +0200 |
commit | 27300f19d153c3b0d36e4de259c325f0a331710a (patch) | |
tree | b4a962523b4488be3e08a73932766599811dcd7c /src | |
parent | e6430658b8c1053975308a116fc5667de62e0d1e (diff) |
tooling: Add types to some properties
We can express lists of strings and lists of ints in QML now.
Change-Id: I03df81e4bd0d6462a89bbd9a5348a79108a2d281
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/tooling/Component.qml | 10 | ||||
-rw-r--r-- | src/imports/tooling/Module.qml | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/tooling/Component.qml b/src/imports/tooling/Component.qml index 30644e3ac2..a266549ff6 100644 --- a/src/imports/tooling/Component.qml +++ b/src/imports/tooling/Component.qml @@ -9,11 +9,11 @@ QtObject { property string file required property string name property string prototype - property var exports: [] - property var exportMetaObjectRevisions: [] - property var interfaces: [] - property var deferredNames: [] - property var immediateNames: [] + property list<string> exports: [] + property list<int> exportMetaObjectRevisions + property list<string> interfaces + property list<string> deferredNames + property list<string> immediateNames property string attachedType property string valueType property string extension diff --git a/src/imports/tooling/Module.qml b/src/imports/tooling/Module.qml index 487e235230..4aa9312a36 100644 --- a/src/imports/tooling/Module.qml +++ b/src/imports/tooling/Module.qml @@ -5,5 +5,5 @@ import QML QtObject { default property list<Component> components - property var dependencies: [] + property list<string> dependencies: [] } |