diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-23 15:25:45 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-23 16:19:40 +0000 |
commit | ad6766eee85e124bd7661f78388a8f13a5a1a0b2 (patch) | |
tree | 4d07c0b2688e3a3700ec85708101df78ce658cbe /setup.py | |
parent | 4917f84cfa8d526e34e3a6d2164ecf2e23eab408 (diff) |
shiboken: Refactor finding of enumerations
- Add helper AbstractMetaEnum::findEnumValue() which
finds unqualified as well as qualified enum values.
- Remove unused function bstractMetaClass::findEnumForValue(QString).
- Remove 2nd parameter from
AbstractMetaClass::findEnumValue(QString, AbstractMetaEnum *).
The comment claimed that it is excluded from the search, but the
condition was the reverse. Just removing it apparently does not do
harm.
Task-number: PYSIDE-487
Change-Id: I32b036045ea335b805fba79df327cc42d787f18c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions