aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-06 14:48:25 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-07 11:42:48 -0300
commit6b8d262b4067bffd4e5a9611c07b862aa64d2538 (patch)
tree19b15ca4337958bf82cd1e90ab1484a69e579f0c /PySide/QtCore
parent673c0d26757526a068e758195d235c047150d789 (diff)
Workaround to change the documentation about the return value of some functions.
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 704e8d468..37decba1f 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1867,6 +1867,9 @@
<modify-argument index="4">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(retval, pid)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
qint64 pid;
%RETURN_TYPE retval = %TYPE::%FUNCTION_NAME(%1, %2, %3, &amp;pid);
@@ -2531,7 +2534,7 @@
<modify-function signature="defaultAnimations() const" remove="all"/>
- <add-function signature="configuration()" return-type="PySequence*" >
+ <add-function signature="configuration()" return-type="list of QAbstractState" >
<inject-code class="target" position="beginning">
%PYARG_0 = PySet_New(0);
foreach(QAbstractState* abs_state, %CPPSELF.configuration()) {
@@ -2542,7 +2545,7 @@
</inject-code>
</add-function>
- <add-function signature="defaultAnimations()" return-type="PySequence*" >
+ <add-function signature="defaultAnimations()" return-type="list of QAbstractAnimation" >
<inject-code class="target" position="beginning">
%PYARG_0 = PyList_New(0);
foreach(QAbstractAnimation* abs_anim, %CPPSELF.defaultAnimations()) {