diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-09-13 12:55:09 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-09-14 10:29:54 +0000 |
commit | 05685d645ca58c268bdf25c4c1b5cad4200406ed (patch) | |
tree | be5eaa44cf875606fbe5ca12b12fbc2483573bea /sources/pyside2/PySide2/typesystem_templates.xml | |
parent | 6bce0b92fa3fa29740d422d9f94ef1341ccf838f (diff) |
PySide2: Base the QMatrix<R>x<C> on QGenericMatrix
After fixing non-type templates, QGenericMatrix can be
specified as their base class. The inherited functions can then
be used instead adding templates.
Change-Id: I5ec435cf04d8443626a86a78643e2ad5d29f4a5e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/typesystem_templates.xml')
-rw-r--r-- | sources/pyside2/PySide2/typesystem_templates.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sources/pyside2/PySide2/typesystem_templates.xml b/sources/pyside2/PySide2/typesystem_templates.xml index a17337258..1a140906b 100644 --- a/sources/pyside2/PySide2/typesystem_templates.xml +++ b/sources/pyside2/PySide2/typesystem_templates.xml @@ -401,16 +401,6 @@ return pyData; </template> - <template name="matrix_fill_function"> - float value = %CONVERTTOCPP[float](%PYARG_1); - %CPPSELF.fill(value); - </template> - - <template name="matrix_transposed_function"> - %TRANSPOSED_TYPE transp = %CPPSELF.transposed(); - return %CONVERTTOPYTHON[%TRANSPOSED_TYPE](transp); - </template> - <!-- Replace '#' for the argument number you want. --> <template name="return_argument"> Py_INCREF(%PYARG_#); |