Fix bugs 776 and 777
Bug 776 - "Operator "QPolygon::operator<<(QPoint)" missing" Bug 777 - "Operator "QPolygon::operator<<(QVector<QPoint>)" missing"
This commit is contained in:
parent
74dc26aa71
commit
adac79f08b
2 changed files with 20 additions and 4 deletions
|
|
@ -651,10 +651,20 @@
|
|||
<modify-function signature="QPolygon(int, const int *)" remove="all"/>
|
||||
<!-- ### A QVector parameter, for no defined type, will generate wrong code. -->
|
||||
<modify-function signature="operator+=(QVector)" remove="all"/>
|
||||
<!-- ### See bug 776 -->
|
||||
<modify-function signature="operator<<(QPoint)" remove="all"/>
|
||||
<!-- ### See bug 777 -->
|
||||
<modify-function signature="operator<<(QVector<QPoint>)" remove="all"/>
|
||||
<modify-function signature="operator<<(QPoint)">
|
||||
<inject-code>
|
||||
// %FUNCTION_NAME()
|
||||
*%CPPSELF << %1;
|
||||
%PYARG_0 = %CONVERTTOPYTHON[QPolygon*](%CPPSELF);
|
||||
</inject-code>
|
||||
</modify-function>
|
||||
<modify-function signature="operator<<(QVector<QPoint>)">
|
||||
<inject-code>
|
||||
// %FUNCTION_NAME()
|
||||
*%CPPSELF << %1;
|
||||
%PYARG_0 = %CONVERTTOPYTHON[QPolygon*](%CPPSELF);
|
||||
</inject-code>
|
||||
</modify-function>
|
||||
<!-- ### -->
|
||||
</value-type>
|
||||
<value-type name="QPolygonF">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue