aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui/typesystem_gui_common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 815bf734f..d3473d450 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -2972,6 +2972,9 @@
<modify-argument index="this">
<parent index="return" action="add"/>
</modify-argument>
+ <modify-argument index="return">
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
</modify-function>
<modify-function signature="takeAt(int)">
@@ -3833,9 +3836,12 @@
</modify-function>
<modify-function signature="parentWidget()const">
- <modify-argument index="return">
- <define-ownership owner="target"/>
- </modify-argument>
+ <modify-argument index="this">
+ <parent index="return" action="add"/>
+ </modify-argument>
+ <modify-argument index="return">
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
</modify-function>
<modify-function signature="actionEvent(QActionEvent*)">