aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 48f0b2d3f..f43fd945c 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2805,6 +2805,15 @@
</modify-argument>
</modify-function>
+ <modify-function signature="setTargetStates(QList&lt;QAbstractState*&gt;)">
+ <inject-code class="target" position="beginning">
+ // The normal here would be to use the 'reference-count' tag but this
+ // method is strongly tied to 'setTargetState' since both affect the same
+ // internal value in QAbstractTransition.
+ Shiboken::SbkBaseWrapper_keepReference(reinterpret_cast&lt;SbkBaseWrapper*&gt;(%PYSELF), "setTargetState(QAbstractState*)1", %PYARG_1);
+ </inject-code>
+ </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"/>-->