aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-02-17 17:54:31 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-17 17:54:31 -0300
commitfa6756f52b368270b6e8e0ee4adb499a2afd5499 (patch)
treef4457552602f908b6c5df0bf3c46e10927eb5b0f /PySide/QtCore
parent16b2d0e370d4c7f69e846a90737ca56e010cf609 (diff)
Fixes type system for QAbstractTransition.setTargetState.
And also for QAbstractTransition.targetState method. The test cases for it were expanded.
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index b6bd90146..48f0b2d3f 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2793,6 +2793,18 @@
</modify-argument>
</modify-function>
+ <modify-function signature="setTargetState(QAbstractState*)">
+ <modify-argument index="1">
+ <reference-count action="add"/>
+ </modify-argument>
+ </modify-function>
+
+ <modify-function signature="targetState() const">
+ <modify-argument index="return">
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
+ </modify-function>
+
<!-- http://bugs.openbossa.org/show_bug.cgi?id=123
<modify-function signature="setTargetStates(QList&lt;QAbstractState*&gt;)" remove="all"/>
<modify-function signature="targetStates() const " remove="all"/>-->