diff options
Diffstat (limited to 'sources/pyside6/PySide6/QtXml/typesystem_xml.xml')
-rw-r--r-- | sources/pyside6/PySide6/QtXml/typesystem_xml.xml | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/sources/pyside6/PySide6/QtXml/typesystem_xml.xml b/sources/pyside6/PySide6/QtXml/typesystem_xml.xml index 4645f7b91..3661a67bf 100644 --- a/sources/pyside6/PySide6/QtXml/typesystem_xml.xml +++ b/sources/pyside6/PySide6/QtXml/typesystem_xml.xml @@ -3,14 +3,12 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only --> -<typesystem package="PySide6.QtXml"> +<typesystem package="PySide6.QtXml" + namespace-begin="QT_BEGIN_NAMESPACE" namespace-end="QT_END_NAMESPACE"> <load-typesystem name="QtCore/typesystem_core.xml" generate="no" /> <load-typesystem name="templates/core_common.xml" generate="no" /> - <rejection class="QXmlAttributes::Attribute"/> <rejection class="QDomNode" field-name="impl"/> - <rejection class="QXmlInputSource" field-name="EndOfData"/> - <rejection class="QXmlInputSource" field-name="EndOfDocument"/> <value-type name="QDomAttr"/> <value-type name="QDomCDATASection"/> @@ -19,7 +17,11 @@ <value-type name="QDomDocument"> + <enum-type name="ParseOption" flags="ParseOptions" since="6.5"/> <!-- will be replaced in inject code --> + + <value-type name="ParseResult"/> + <modify-function signature="setContent(const QByteArray&,bool,QString*,int*,int*)"> <modify-argument index="3"> <remove-argument/> @@ -33,7 +35,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -51,7 +53,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -69,7 +71,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -87,7 +89,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -105,7 +107,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -123,7 +125,7 @@ <remove-argument/> <remove-default-expression/> </modify-argument> - <modify-argument index="return"> + <modify-argument index="return" pyi-type="Tuple[bool, str, int, int]"> <replace-type modified-type="(retval, errorMsg, errorLine, errorColumn)"/> </modify-argument> <inject-code class="target" position="beginning" file="../glue/qtxml.cpp" snippet="qdomdocument-setcontent" /> @@ -167,12 +169,5 @@ <modify-function signature="setAttribute(const QString&, qulonglong)" remove="all"/> </value-type> - <object-type name="QXmlContentHandler"> - <modify-function signature="setDocumentLocator(QXmlLocator*)"> - <modify-argument index="1"> - <define-ownership owner="c++"/> - </modify-argument> - </modify-function> - </object-type> </typesystem> |