diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-04-19 18:09:17 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:14 -0300 |
commit | c104fa61ad68ece261cc459e7ac31e0a5ac7e3f9 (patch) | |
tree | 932677e26b1bb3365549cd369ab926705d47545e /PySide | |
parent | 6ec7cd56a32680a182849817843ef95145986add (diff) |
Fix bug 760 - "Method "void QMatrix::map(int x,int y,int* tx,int* ty)const" missing"
Fix bug 761 - "Method "void QMatrix::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing"
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 01cd45dc5..749e66ffc 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -840,10 +840,33 @@ </insert-template> </inject-code> </add-function> - <!-- ### See bug 760 --> - <modify-function signature="map(int,int,int*,int*)const" remove="all"/> - <!-- ### See bug 761 --> - <modify-function signature="map(qreal,qreal,qreal*,qreal*)const" remove="all"/> + <template name="qmatrix_map"> + %ARG1_TYPE a, b; + %CPPSELF.%FUNCTION_NAME(%1, %2, &a, &b); + %PYARG_0 = Shiboken::makeTuple(a, b); + </template> + <modify-function signature="map(int,int,int*,int*)const"> + <modify-argument index="3"> + <remove-argument /> + </modify-argument> + <modify-argument index="4"> + <remove-argument /> + </modify-argument> + <inject-code> + <insert-template name="qmatrix_map" /> + </inject-code> + </modify-function> + <modify-function signature="map(qreal,qreal,qreal*,qreal*)const"> + <modify-argument index="3"> + <remove-argument /> + </modify-argument> + <modify-argument index="4"> + <remove-argument /> + </modify-argument> + <inject-code> + <insert-template name="qmatrix_map" /> + </inject-code> + </modify-function> <modify-function signature="inverted(bool*)const"> <modify-argument index="1"> <remove-argument/> |