aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-29 19:14:05 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-07-29 19:29:01 -0300
commitee7b4826c0f0e487b75a70812dbcdcab00a0afdd (patch)
tree64e0057d9df823465b1ebca3c882fc054df132fb /PySide/QtGui
parent6a2df2daa4e1efc5b7e6e5946c96a528ec9b7248 (diff)
Fixed return policy on ItemList.
Fixed singleShot function to invalidate temporary object. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtGui')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 7308f009f..eb0c3c87a 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -2953,6 +2953,11 @@
<parent index="1" action="add"/>
</modify-argument>
</modify-function>
+ <modify-function signature="listWidget() const">
+ <modify-argument index="return">
+ <define-ownership owner="target"/>
+ </modify-argument>
+ </modify-function>
<modify-function signature="operator&lt;(QListWidgetItem)const">
<modify-argument index="1" invalidate-after-use="yes"/>
</modify-function>