Skip to content

Commit 64dd971

Browse files
author
florianlink
committed
added ownership passing for QWizard
git-svn-id: http://svn.code.sf.net/p/pythonqt/code/trunk@435 ea8d5007-eb21-0410-b261-ccb3ea6e24a9
1 parent 74d323b commit 64dd971

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

generator/typesystem_gui.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,17 @@ PyObject* constScanLine(QImage* image, int line) {
13071307
<object-type name="QWizard">
13081308
<!-- ### Requires correct class name in meta object -->
13091309
<modify-function signature="setDefaultProperty(const char *, const char *, const char *)" remove="all"/>
1310+
1311+
<modify-function signature="addPage(QWizardPage*)">
1312+
<modify-argument index="1">
1313+
<define-ownership owner="c++" />
1314+
</modify-argument>
1315+
</modify-function>
1316+
<modify-function signature="setButton(QWizard::WizardButton,QAbstractButton*)">
1317+
<modify-argument index="2">
1318+
<define-ownership owner="c++" />
1319+
</modify-argument>
1320+
</modify-function>
13101321
</object-type>
13111322
<object-type name="QWizardPage">
13121323
</object-type>

0 commit comments

Comments
 (0)