aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index af06fceb4..3e4e656d8 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2829,7 +2829,24 @@
<include file-name="qtconcurrentthreadengine.h" location="global"/>
</extra-includes>
</namespace-type>
- <object-type name="QThreadPool" />
+ <object-type name="QThreadPool">
+ <modify-function signature="start(QRunnable*, int)">
+ <modify-argument index="1">
+ <parent index="this" action="add" />
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="tryStart(QRunnable*)">
+ <modify-argument index="1">
+ <parent index="this" action="add" />
+ </modify-argument>
+ </modify-function>
+
+ <modify-function signature="globalInstance()" >
+ <inject-code position="end">
+ Shiboken::Object::releaseOwnership(%PYARG_0);
+ </inject-code>
+ </modify-function>
+ </object-type>
<value-type name="QXmlStreamAttribute"/>
<value-type name="QXmlStreamAttributes">
<modify-function signature="push_back(QXmlStreamAttribute)" remove="all"/>