aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-23 14:37:16 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-23 14:37:16 -0200
commita8ae0680f23ca5e702a662cf36a465b7a7b2788a (patch)
tree13257f86b17d96261cd8713463bf75c14d507cbf /PySide/typesystem_templates.xml
parent6cefd33cd08232b25a3b81d598b88ec47aa5aad2 (diff)
Adapt to API changes in libshiboken.
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index 6bc814d17..9d39bb481 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::Wrapper::setParent(NULL, pyChild);
+ Shiboken::Object::setParent(NULL, pyChild);
}
- Shiboken::Wrapper::setParent(%PYSELF, $PYARG);
+ Shiboken::Object::setParent(%PYSELF, $PYARG);
</template>
<!-- Templates to fix bool* parameters -->
@@ -155,8 +155,8 @@
</template>
<template name="fix_virtual_method_return_value_and_bool*">
- AutoDecRef _py_ret_(PySequence_GetItem(%PYARG_0, 0));
- AutoDecRef _py_ok_(PySequence_GetItem(%PYARG_0, 1));
+ Shiboken::AutoDecRef _py_ret_(PySequence_GetItem(%PYARG_0, 0));
+ Shiboken::AutoDecRef _py_ok_(PySequence_GetItem(%PYARG_0, 1));
%RETURN_TYPE %out = %CONVERTTOCPP[%RETURN_TYPE](_py_ret_);
*%2 = %CONVERTTOCPP[bool](_py_ok_);
</template>
@@ -183,8 +183,8 @@
</template>
<template name="set_qapp_parent_for_orphan">
SbkObject* _pySelf = reinterpret_cast&lt;SbkObject*&gt;(%PYARG_0);
- if (!Shiboken::Wrapper::hasParentInfo(_pySelf))
- Shiboken::Wrapper::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_0);
+ if (!Shiboken::Object::hasParentInfo(_pySelf))
+ Shiboken::Object::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_0);
</template>
<!-- templates for __reduce__ -->
<template name="reduce_code">