aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-09 09:22:56 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-23 12:26:07 +0200
commit4d09403f7167afbee285155177e2c1c9e4857e14 (patch)
tree1f5b5895e1834c862e18ba33ac69b1073ffdf48f /sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp
parentb77586da0e7041501c5456f229d1c80b68a78e64 (diff)
QML registration code: Extract a setter from the ClassInfo decorator
Change it to operate on a list of key/value pairs instead of a QMap (no use in enforcing sorting) and extract a setter for setting QMetaClassInfo data on a PyTypeObject of a QObject. To be used for QML decorators. As a drive-by, fix some static analysis warnings about implicit bool casts. Task-number: PYSIDE-2484 Change-Id: Ia759bb42740ed279f36c0850306ebd9bee526ecf Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp')
0 files changed, 0 insertions, 0 deletions