Fixed QLineF::intersect method to return a tuple.
This commit is contained in:
parent
e439aca9d2
commit
df0dfdaaf0
1 changed files with 10 additions and 2 deletions
|
|
@ -879,8 +879,16 @@
|
||||||
</object-type>
|
</object-type>
|
||||||
<value-type name="QLine"/>
|
<value-type name="QLine"/>
|
||||||
<value-type name="QLineF">
|
<value-type name="QLineF">
|
||||||
<!-- FIXME: Modify the return value to return a tuple -->
|
<modify-function signature="intersect(QLineF, QPointF*)const">
|
||||||
<modify-function signature="intersect(QLineF,QPointF*)const" remove="all" />
|
<modify-argument index="2">
|
||||||
|
<remove-argument />
|
||||||
|
</modify-argument>
|
||||||
|
<inject-code class="target" position="beginning">
|
||||||
|
QPointF p;
|
||||||
|
%RETURN_TYPE retval = %CPPSELF.%FUNCTION_NAME(%ARGUMENT_NAMES, &p);
|
||||||
|
%PYARG_0 = Shiboken::makeTuple(retval, p);
|
||||||
|
</inject-code>
|
||||||
|
</modify-function>
|
||||||
</value-type>
|
</value-type>
|
||||||
<value-type name="QResource">
|
<value-type name="QResource">
|
||||||
<modify-function signature="registerResource(const uchar*, const QString&)" remove="all"/>
|
<modify-function signature="registerResource(const uchar*, const QString&)" remove="all"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue