summaryrefslogtreecommitdiffstats
path: root/PySide/QtUiTools/typesystem_uitools.xml
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 17:06:14 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-07-09 11:14:49 -0300
commit1a5de6c46c0a7e74cd9d8d6460a1f2f125a86339 (patch)
treec6a6735fc4e5d6e737c901ceae4b86aee1677261 /PySide/QtUiTools/typesystem_uitools.xml
parente50766012453a22e1f4ee37a1112bd8b03b97124 (diff)
downloadshiboken-1a5de6c46c0a7e74cd9d8d6460a1f2f125a86339.tar.gz
shiboken-1a5de6c46c0a7e74cd9d8d6460a1f2f125a86339.tar.xz
shiboken-1a5de6c46c0a7e74cd9d8d6460a1f2f125a86339.zip
Add a default value and argument name to QUiLoader::file(str, QWidget)
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtUiTools/typesystem_uitools.xml')
-rw-r--r--PySide/QtUiTools/typesystem_uitools.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/PySide/QtUiTools/typesystem_uitools.xml b/PySide/QtUiTools/typesystem_uitools.xml
index c155bff9..664fbdf0 100644
--- a/PySide/QtUiTools/typesystem_uitools.xml
+++ b/PySide/QtUiTools/typesystem_uitools.xml
@@ -36,6 +36,10 @@
<!-- Syntax sugar -->
<add-function signature="load(const char*, QWidget*)" return-type="QWidget*">
+ <modify-argument index="2">
+ <replace-default-expression with="0" />
+ <rename to="parentWidget" />
+ </modify-argument>
<modify-argument index="return">
<parent index="2" action="add"/>
</modify-argument>