summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2011-03-02 13:52:51 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2011-03-02 15:03:11 -0300
commit17f2d83e0e33e146d8efd55a13328ace8afad152 (patch)
tree7ed7c054b0823567481358dc5f73694671b0d249
parent2ed86dc43538536718ad9592eb47e03d2674a8a7 (diff)
downloadpyside-17f2d83e0e33e146d8efd55a13328ace8afad152.tar.gz
pyside-17f2d83e0e33e146d8efd55a13328ace8afad152.tar.xz
pyside-17f2d83e0e33e146d8efd55a13328ace8afad152.zip
Fix bug 676 - "wrong QLocale.toFloat() description".
Reviewer: Lauro Moura <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--PySide/QtCore/typesystem_core.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 4a6374a..3946bdf 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -982,6 +982,9 @@
<remove-argument />
<remove-default-expression />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>
@@ -991,6 +994,9 @@
<remove-argument />
<remove-default-expression />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>
@@ -1000,6 +1006,9 @@
<remove-argument />
<remove-default-expression />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(float, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_args,bool*" />
</inject-code>
@@ -1009,6 +1018,9 @@
<remove-argument />
<remove-default-expression />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(float, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_args,bool*" />
</inject-code>
@@ -1017,6 +1029,9 @@
<modify-argument index="2">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>
@@ -1025,6 +1040,9 @@
<modify-argument index="2">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>
@@ -1033,6 +1051,9 @@
<modify-argument index="2">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>
@@ -1041,6 +1062,9 @@
<modify-argument index="2">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(int, bool ok)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,bool*,arg" />
</inject-code>