diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-11-18 11:02:03 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-11-19 15:15:12 -0300 |
commit | 5e0550446c3546beb4a7076a80a7475b394567f4 (patch) | |
tree | 4709c72e275bdc1c54c914ccedfa11ec07af200e /PySide/typesystem_templates.xml | |
parent | 098946263932e115bdbca17eb51c3a27848435e2 (diff) |
Updated to new shiboken API.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index 968195fa1..6bc814d17 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -23,9 +23,9 @@ $CHILD_TYPE* oldChild = %CPPSELF.$FUNCTION_GET_OLD(); if (oldChild) { Shiboken::AutoDecRef pyChild(%CONVERTTOPYTHON[$CHILD_TYPE*](oldChild)); - Shiboken::setParent(NULL, pyChild); + Shiboken::Wrapper::setParent(NULL, pyChild); } - Shiboken::setParent(%PYSELF, $PYARG); + Shiboken::Wrapper::setParent(%PYSELF, $PYARG); </template> <!-- Templates to fix bool* parameters --> @@ -184,7 +184,7 @@ <template name="set_qapp_parent_for_orphan"> SbkObject* _pySelf = reinterpret_cast<SbkObject*>(%PYARG_0); if (!Shiboken::Wrapper::hasParentInfo(_pySelf)) - Shiboken::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_0); + Shiboken::Wrapper::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_0); </template> <!-- templates for __reduce__ --> <template name="reduce_code"> |