aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-02-03 16:38:31 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-02-04 14:43:17 -0200
commitdd261e8b50bac7492f90c197c973a956cb585678 (patch)
treedce533224505531033a5ada446bcc53565125cca /PySide/typesystem_templates.xml
parent193cc8025910b92f764e6e1339ce2ec213b20cc5 (diff)
Fixing QColor get* methods, using new template
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index b5b0f00cb..c61673bf7 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -64,5 +64,28 @@
%RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(&amp;val_);
%PYARG_0 = PyTuple_Pack(2, %CONVERTTOPYTHON[%RETURN_TYPE](retval_), %CONVERTTOPYTHON[char](val_));
</template>
+
+ <template name="fix_int*,int*,int*,int*">
+ int a, b, c, d;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d);
+ </template>
+ <template name="fix_qreal*,qreal*,qreal*,qreal*">
+ qreal a, b, c, d;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d);
+ </template>
+
+ <template name="fix_int*,int*,int*,int*,int*">
+ int a, b, c, d, e;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d, &amp;e);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d, e);
+ </template>
+ <template name="fix_qreal*,qreal*,qreal*,qreal*,qreal*">
+ qreal a, b, c, d, e;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d, &amp;e);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d, e);
+ </template>
+
</typesystem>