diff options
| -rw-r--r-- | sources/pyside6/PySide6/QtCore/typesystem_core_common.xml | 8 | ||||
| -rw-r--r-- | sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml index e4b39ed0a..f001178cc 100644 --- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml +++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml @@ -1777,8 +1777,8 @@ <include file-name="QList" location="global"/> <!-- Expose operator==, != inherited from QList, which the parser does not see due to the TMP expression of the return type. --> - <add-function signature="operator==(const QItemSelection&)" return-type="bool"/> - <add-function signature="operator!=(const QItemSelection&)" return-type="bool"/> + <declare-function signature="operator==(const QItemSelection&)" return-type="bool"/> + <declare-function signature="operator!=(const QItemSelection&)" return-type="bool"/> <!-- For some reason, the empty selection is not seen. Maybe related to the new [default] tag in Qt6? PYSIDE-2756: The return-type attribute is unnecessary --> @@ -3173,8 +3173,8 @@ <modify-function signature="operator+=(QVector<QXmlStreamAttribute>)" remove="all"/> <!-- Expose operator==, != inherited from QList, which the parser does not see due to the TMP expression of the return type. --> - <add-function signature="operator==(const QXmlStreamAttributes&)" return-type="bool"/> - <add-function signature="operator!=(const QXmlStreamAttributes&)" return-type="bool"/> + <declare-function signature="operator==(const QXmlStreamAttributes&)" return-type="bool"/> + <declare-function signature="operator!=(const QXmlStreamAttributes&)" return-type="bool"/> </value-type> <value-type name="QXmlStreamNamespaceDeclaration"/> <value-type name="QXmlStreamNotationDeclaration"/> diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml index 5192c7120..e7cdb5c0e 100644 --- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml +++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml @@ -464,8 +464,8 @@ </extra-includes> <!-- Expose operator==, != inherited from QList, which the parser does 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"/> + <declare-function signature="operator==(const QPolygon&)" return-type="bool"/> + <declare-function signature="operator!=(const QPolygon&)" return-type="bool"/> <add-function signature="__reduce__" return-type="str"> <inject-code class="target" position="beginning" file="../glue/qtgui.cpp" snippet="qpolygon-reduce"> @@ -494,8 +494,8 @@ </extra-includes> <!-- Expose operator==, != inherited from QList, which the parser does not see due to the TMP expression of the return type. --> - <add-function signature="operator==(const QPolygonF&)" return-type="bool"/> - <add-function signature="operator!=(const QPolygonF&)" return-type="bool"/> + <declare-function signature="operator==(const QPolygonF&)" return-type="bool"/> + <declare-function signature="operator!=(const QPolygonF&)" return-type="bool"/> <!-- ### A QList parameter, for no defined type, will generate wrong code. --> <modify-function signature="operator+=(QList<QPointF>)" remove="all"/> |
