diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-05-23 09:41:38 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-05-27 11:06:54 +0200 |
| commit | 61a857aa0940ce44c83b20b858c9c700a902a8e4 (patch) | |
| tree | 7236a745e282f9060d3f4820b005421cf4de0594 /sources/pyside6/tests/QtWebEngineWidgets/pyside-474-qtwebengineview.py | |
| parent | 52c79fbaf02d1d00d91ed743127c182ee4a95b4e (diff) | |
shiboken6: Fix deprecation handling
There was AbstractMetaFunction::Attribute:::Deprecated (meaning
deprecation detected by code annotation) and
AbstractMetaFunction::isDeprecated() (meaning modified to deprecated
in type system), which were used inconsistently.
Modify AbstractMetaFunction::isDeprecated() to detect either and use
it everywhere. Remove the warning generation from writeFunctionCalls()
so that the warning is only generated by writeSingleFunctionCall().
Move the deprecation warning into libshiboken.
Task-number: PYSIDE-661
Change-Id: I9cb6814c790d12858d51671e8f43e1c4a1885887
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtWebEngineWidgets/pyside-474-qtwebengineview.py')
0 files changed, 0 insertions, 0 deletions
