aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-10-06 19:18:19 -0300
committerLauro Neto <lauro.neto@openbossa.org>2010-10-07 15:10:11 -0300
commit04180e1f1d9e5dc2b8e8e856f6fde0587074284a (patch)
tree7fe9c7b0d3ec6d7c4e277ae892bee71b0ad1d187 /PySide/QtCore/typesystem_core.xml
parent3c7f55855b45168818ef6fc5e58b30f1c7e4d133 (diff)
Add default name for QObject.findChild(type, name)
Plus test. Should return a child of the given type.
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 37decba1f..db7777e1b 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1165,6 +1165,9 @@
<modify-argument index="return">
<parent index="this" action="add"/>
</modify-argument>
+ <modify-argument index="2">
+ <replace-default-expression with="QString()" />
+ </modify-argument>
</add-function>
<add-function signature="findChildren(PyTypeObject*, const QString&amp;)" return-type="PySequence*" >
<inject-code class="target" position="beginning">