aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-01-28 15:53:51 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-01-29 08:43:41 +0100
commiteff73ee3197723eb1f5b35ec39bb496a40ab5343 (patch)
treed93caaa0c0b681566cb4383db095578c8c5f5438 /src/imports
parent92c87fec98f0b9e86e74c1660a2962d4aa16964c (diff)
Expose getter and setter names of C++ classes in qmltypes files
This simply exports the name which are already available in the json files generated by moc. We do not consider whether the methods are non-private for now. MEMBER is not supported either, but might be added if the need actually arises. Fixes: QTBUG-90711 Change-Id: If3ee18c8ce60499676a7ee22df569cba0912e22f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/tooling/Property.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/tooling/Property.qml b/src/imports/tooling/Property.qml
index 7c335a1dc9..de76df55b3 100644
--- a/src/imports/tooling/Property.qml
+++ b/src/imports/tooling/Property.qml
@@ -46,4 +46,6 @@ Member {
property bool isList: false
property int revision: 0
property string bindable
+ property string read
+ property string write
}