aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/keep_reference_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-10-07 09:39:00 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-10-15 11:58:21 +0200
commit83cfe85436357f517bf5896b65a74867904819de (patch)
tree78205cb3e4944c9ee4e9323ec52ad397366cb02c /sources/pyside6/tests/QtWidgets/keep_reference_test.py
parent57579e218cfa3f7f36ea7d819c170bc62bc9ae4a (diff)
shiboken6: Reduce Sbk_..TypeF() function usage
A static helper function with postfix TypeF() was generated for each type. Besides the usage in the generated converter and for overridden functions, it was used to retrieve the enclosing type for enum initialization. The calls from the enum code are removed by adding an enclosing parameter to the enum function and removing the logic trying to detect invisible namespaces since the enclosing type is always the right one even for enums collected from nested invisible namespaces. The generation of the TypeF() can then be removed for namespace types. Task-number: PYSIDE-3155 Change-Id: Ia1c64594e180cf221cd0c416ae67ddab5d99a465 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/keep_reference_test.py')
0 files changed, 0 insertions, 0 deletions