diff options
Diffstat (limited to 'sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml')
-rw-r--r-- | sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml index 88c19360a..e9c94e5ae 100644 --- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml +++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml @@ -468,6 +468,7 @@ not see due to the TMP expression of the return type. --> <add-function signature="operator==(const QPolygon&)" return-type="bool"/> <add-function signature="operator!=(const QPolygon&)" return-type="bool"/> + <add-function signature="__reduce__" return-type="PyObject*"> <inject-code class="target" position="beginning" file="../glue/qtgui.cpp" snippet="qpolygon-reduce"> <insert-template name="reduce_code"> @@ -481,12 +482,12 @@ <modify-function signature="QPolygon(int,const int*)" remove="all"/> <!-- ### A QVector parameter, for no defined type, will generate wrong code. --> <modify-function signature="operator+=(QVector<QPoint>)" remove="all"/> - <modify-function signature="operator<<(QPoint)"> + <add-function signature="operator<<(QPoint)"> <inject-code file="../glue/qtgui.cpp" snippet="qpolygon-operatorlowerlower"/> - </modify-function> - <modify-function signature="operator<<(QVector<QPoint>)"> + </add-function> + <add-function signature="operator<<(QVector<QPoint>)"> <inject-code file="../glue/qtgui.cpp" snippet="qpolygon-operatorlowerlower"/> - </modify-function> + </add-function> <!-- ### --> </value-type> <value-type name="QPolygonF"> |