aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtXml/typesystem_xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/PySide2/QtXml/typesystem_xml.xml')
-rw-r--r--sources/pyside2/PySide2/QtXml/typesystem_xml.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/QtXml/typesystem_xml.xml b/sources/pyside2/PySide2/QtXml/typesystem_xml.xml
index e1750fb80..96d12ea4e 100644
--- a/sources/pyside2/PySide2/QtXml/typesystem_xml.xml
+++ b/sources/pyside2/PySide2/QtXml/typesystem_xml.xml
@@ -231,7 +231,20 @@
<object-type name="QXmlNamespaceSupport"/>
- <value-type name="QDomElement"/>
+ <value-type name="QDomElement">
+ <!-- PYSIDE-1372
+ We will leave only one for int, and one for float since Python
+ doesn't have other variations on the primitive types.
+ Only 'qlonglong' and 'double' will be available from the Qt API.
+ TODO: This will require a better review of the shiboken primitive
+ types converters, since this situation might happen on
+ different signatures.
+ -->
+ <modify-function signature="setAttribute(const QString&amp;, uint)" remove="all"/>
+ <modify-function signature="setAttribute(const QString&amp;, float)" remove="all"/>
+ <modify-function signature="setAttribute(const QString&amp;, int)" remove="all"/>
+ <modify-function signature="setAttribute(const QString&amp;, qulonglong)" remove="all"/>
+ </value-type>
<object-type name="QXmlContentHandler">
<modify-function signature="setDocumentLocator(QXmlLocator*)">