diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-08-05 08:40:42 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-08-08 21:30:04 +0200 |
| commit | 1c7f5faabdfc3729a629e3c57f4ee77b63fb858d (patch) | |
| tree | 4f8ff577db891dacac5dfc3f2e9c06f9b03eeac1 /sources/pyside6 | |
| parent | ccf0935984e43b76e7b09e2a33d00b961548c50b (diff) | |
shiboken6: Always use the modified pyi return type of functions for signatures
Some void-functions are modified to return something, this was missing
in the signature.
Add a few missing mappings revealed by this.
Task-number: PYSIDE-2013
Task-number: PYSIDE-2017
Change-Id: If49549b3f605209cd86ff56b8b4cf8a5bbd5e302
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6')
| -rw-r--r-- | sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml index a300f517c..c55afe590 100644 --- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml +++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml @@ -2373,7 +2373,7 @@ <remove-argument/> </modify-argument> <modify-argument index="return"> - <replace-type modified-type="PyTupleObject*"/> + <replace-type modified-type="Tuple"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtgui.cpp" snippet="qmatrix4x4-copydatato"/> </modify-function> @@ -2636,7 +2636,7 @@ <inject-code file="../glue/qtgui.cpp" snippet="qguiapplication-exec"/> </add-function> <modify-function signature="setOverrideCursor(const QCursor&)"> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="PyObject"> <replace-type modified-type="QtGuiHelper::QOverrideCursorGuard*"/> </modify-argument> <inject-code class="target" position="end" file="../glue/qtgui.cpp" |
