aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 3f02357c5..33f63bc09 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -796,6 +796,11 @@
<include file-name="QTextDocument" location="global"/>
</extra-includes>
</namespace-type>
+ <add-function signature="qAbs(long)" return-type="long">
+ <inject-code class="target" position="beginning">
+ %PYARG_0 = %CONVERTTOPYTHON[long](qAbs(%1));
+ </inject-code>
+ </add-function>
<enum-type name="QtMsgType"/>
<enum-type name="QSystemSemaphore::AccessMode"/>
<enum-type name="QSystemSemaphore::SystemSemaphoreError"/>