aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/qmlsqlintegration/sqlDialog.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-17 14:29:51 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-17 21:30:11 +0100
commitcb936887bffc662e866f4e9594cdea8d1213a444 (patch)
tree922943dedb25542fcfd68e9176f457d46b8fc10d /sources/pyside6/doc/tutorials/qmlsqlintegration/sqlDialog.py
parent6922108cb8f8faa6a92c371c71b65441b8b334cb (diff)
shiboken6: Move C++ access specifiers into a global enum
Extract the AcessPolicy enum from the code model into a global enum and remove the access specifiers from AbstractMetaAttributes. AbstractMetaField and AbstractMetaEnum get access()/setAccess() functions and no longer need to inherit AbstractMetaAttributes which removes the attributes that do not apply to them. AbstractMetaFunction gets access()/setAccess() functions, too, and handling for remembering the original access before modifications. AbstractMetaAttributes::originalAttributes can then be removed since it is not used otherwise. Simplify the code accordingly. Change-Id: Ie4529fc753f127975b5c56ee07b27419802361d6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration/sqlDialog.py')
0 files changed, 0 insertions, 0 deletions