aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-06-14 16:56:36 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-06-15 20:41:41 -0300
commite0c46d67613fe8c38c3bee6b99ae58260cb33260 (patch)
tree6036525d0bd39b7a4aa46507092d4d98eda9e80f /PySide/typesystem_templates.xml
parent0eb8d670c240b5ea621dba6271139f30cc97790a (diff)
Implementing API2 modifications.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index 46911fac7..8bc9eb5ba 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -148,5 +148,19 @@
_ret = %CPPSELF.%FUNCTION_NAME(%1, &amp;a, &amp;b);
%PYARG_0 = Shiboken::makeTuple(_ret, a, b);
</template>
+
+ <template name="return_QString">
+ %PYARG_0 = %CONVERTTOPYTHON[QString](%1);
+ </template>
+
+ <template name="return_tuple_QValidator_QString_int">
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2);
+ %PYARG_0 = Shiboken::makeTuple(retval_, %1, %2);
+ </template>
+
+ <template name="return_for_QFileDialog">
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2);
+ %PYARG_0 = Shiboken::makeTuple(retval_, %1, %2);
+ </template>
</typesystem>