summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-29 15:16:52 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-29 17:23:33 -0300
commit492ac5c64ca75fbed346d3b13b3b0dd99c140910 (patch)
tree55859182c7bfcd8fcd3804194c4c4470df84af2f
parent169d0f8147316f9c1b287953f03113dca997a37b (diff)
downloadpyside-492ac5c64ca75fbed346d3b13b3b0dd99c140910.tar.gz
pyside-492ac5c64ca75fbed346d3b13b3b0dd99c140910.tar.xz
pyside-492ac5c64ca75fbed346d3b13b3b0dd99c140910.zip
Modify return type QLineF::intersect to look nice in the documentation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Ara├║jo <renato.filho@openbossa.org>
-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 f364dd0..68bd04c 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -685,6 +685,9 @@
<modify-argument index="2">
<remove-argument />
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(intersectType, intersectionPoint)" />
+ </modify-argument>
<inject-code class="target" position="beginning">
QPointF p;
%RETURN_TYPE retval = %CPPSELF.%FUNCTION_NAME(%ARGUMENT_NAMES, &amp;p);