diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-04 19:19:17 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-04 19:20:24 -0200 |
commit | 41744e427a8bd5d04c25e5849f83115ff927cfd4 (patch) | |
tree | 237d7cb516433c21f3fb10171c97fea2a87ba5aa /PySide/typesystem_templates.xml | |
parent | 9dff4753c4e19b37cc6b18854998e3a736a35e4e (diff) |
Add code injection for QInputDialog::get*
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index f28d26142..f0c28c158 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -21,6 +21,21 @@ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(&ok_, %2); %PYARG_0 = Shiboken::makeTuple(retval_, ok_); </template> + <template name="fix_arg,arg,arg,arg,arg,arg,arg,bool*,arg"> + bool ok_; + %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, %6, %7, &ok_, %9); + %PYARG_0 = Shiboken::makeTuple(retval_, ok_); + </template> + <template name="fix_arg,arg,arg,arg,arg,arg,bool*,arg"> + bool ok_; + %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, %6, &ok_, %8); + %PYARG_0 = Shiboken::makeTuple(retval_, ok_); + </template> + <template name="fix_arg,arg,arg,arg,arg,bool*,arg"> + bool ok_; + %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, &ok_, %7); + %PYARG_0 = Shiboken::makeTuple(retval_, ok_); + </template> <template name="get_slice"> %TYPE* sequence; Py_ssize_t start, end; |