diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-08-08 15:31:15 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-08-15 14:19:43 +0200 |
| commit | 3d8ade9b5bd6f8114bd52b33d454bfc141684d54 (patch) | |
| tree | 283af67f5032e284715ff8ead47012df4506c298 /tools/snippets_translate/tests | |
| parent | 3264ddb29f5ad16f2ed4820398a71a9ef992d514 (diff) | |
PyEnum: Enable the type definition to override all enum types
The new enum support in XML knew IntEnum and IntFlag, only.
After we recognized that there exist three cases that should be
IntFlag, although there is no according "flags" C++ definition
and adding this definition crashes, it became clear that we
must allow to override IntEnum by IntFlag, just for Python.
But the existence of such cases may be not restricted to IntEnum,
it can also occur with normal enums.
This patch prepares such an override. It must be still checked
if there are such cases at all.
Task-number: PYSIDE-1735
Change-Id: I4af1c3153c84f88fbef6ac36e421c47dfb5429a9
Pick-to: 6.3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools/snippets_translate/tests')
0 files changed, 0 insertions, 0 deletions
