diff options
Diffstat (limited to 'PySide/QtCore')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 9 |
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<QAbstractState*>)"> + <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<SbkBaseWrapper*>(%PYSELF), "setTargetState(QAbstractState*)1", %PYARG_1); + </inject-code> + </modify-function> + <!-- http://bugs.openbossa.org/show_bug.cgi?id=123 <modify-function signature="setTargetStates(QList<QAbstractState*>)" remove="all"/> <modify-function signature="targetStates() const " remove="all"/>--> |