aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-21 20:38:35 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-22 09:55:14 +0200
commitd50cf744b8de18d9b3756712cdd07f270512fa91 (patch)
tree33a8b03b9417ec20d1a1e602bdb6f3cb548a2d42 /examples/declarative/extending
parent01a8e9f30d4396378e97a31e4b6d2ee489cb0ac9 (diff)
shiboken6: Refactor PrimitiveTypeEntry::basicReferencedTypeEntry()HEADdev
Change it to always return "this" or the referenced type and add another getter referencesType() to check whether it actually references another entry. Also add another convenience function TypeEntry::asPrimitive(). This saves a lot of if's. Also remove ShibokenGenerator::pythonPrimitiveTypeName(PrimitiveTypeEntry *). Task-number: PYSIDE-1660 Change-Id: I7b3c2f32e67d64176bf0b9f11a2c4dea2d6273ba Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/declarative/extending')
0 files changed, 0 insertions, 0 deletions