diff options
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index f1b5b68f2..cf4b6744c 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -526,7 +526,7 @@ <add-function signature="value()" return-type="QTreeWidgetItem*"> <inject-code> %PYARG_0 = %CONVERTTOPYTHON[QTreeWidgetItem*](%CPPSELF.operator*()); - Shiboken::Wrapper::releaseOwnership(%PYARG_0); + Shiboken::Object::releaseOwnership(%PYARG_0); </inject-code> </add-function> <enum-type name="IteratorFlag" flags="QTreeWidgetItemIterator::IteratorFlags"/> @@ -1621,7 +1621,7 @@ <reference-count action="add"/> </modify-argument> <inject-code> - Shiboken::Wrapper::releaseOwnership(%PYARG_2); + Shiboken::Object::releaseOwnership(%PYARG_2); </inject-code> </modify-function> <modify-function signature="setDefaultFactory(QItemEditorFactory *)"> @@ -1955,7 +1955,7 @@ <inject-code class="target" position="end"> Shiboken::AutoDecRef result(PyObject_CallMethod(%PYSELF, "connect", "OsO", %PYSELF, SIGNAL(activated()), %PYARG_3)); if (!result.isNull()) - Shiboken::Wrapper::setParent(%PYARG_2, %PYSELF); + Shiboken::Object::setParent(%PYARG_2, %PYSELF); </inject-code> </add-function> </object-type> @@ -2018,7 +2018,7 @@ QStandardItem* _i = %CPPSELF->child(%1, %2); if (_i) { PyObject* _pyI = %CONVERTTOPYTHON[QStandardItem*](_i); - Shiboken::Wrapper::setParent(0, _pyI); + Shiboken::Object::setParent(0, _pyI); } </inject-code> <modify-argument index="3"> @@ -2031,7 +2031,7 @@ QStandardItem* _i = %CPPSELF->child(%1); if (_i) { PyObject* _pyI = %CONVERTTOPYTHON[QStandardItem*](_i); - Shiboken::Wrapper::setParent(0, _pyI); + Shiboken::Object::setParent(0, _pyI); } </inject-code> <modify-argument index="2"> @@ -2170,7 +2170,7 @@ QWidget *_widget = %CPPSELF.widget(%1); if (_widget) { Shiboken::AutoDecRef pyWidget(%CONVERTTOPYTHON[QWidget*](_widget)); - Shiboken::Wrapper::setParent(0, pyWidget); + Shiboken::Object::setParent(0, pyWidget); } </inject-code> </modify-function> @@ -3317,7 +3317,7 @@ <modify-function signature="setStyle(QStyle*)"> <inject-code class="target" position="end"> - Shiboken::Wrapper::keepReference(reinterpret_cast<SbkObject*>(%PYSELF), "__style__", %PYARG_1); + Shiboken::Object::keepReference(reinterpret_cast<SbkObject*>(%PYSELF), "__style__", %PYARG_1); </inject-code> </modify-function> <modify-function signature="style()const"> @@ -3328,10 +3328,10 @@ QStyle *appStyle = qApp->style(); if (appStyle == myStyle) { Shiboken::AutoDecRef pyApp(%CONVERTTOPYTHON[QApplication*](qApp)); - Shiboken::Wrapper::setParent(pyApp, %PYARG_0); - Shiboken::Wrapper::releaseOwnership(%PYARG_0); + Shiboken::Object::setParent(pyApp, %PYARG_0); + Shiboken::Object::releaseOwnership(%PYARG_0); } else { - Shiboken::Wrapper::keepReference(reinterpret_cast<SbkObject*>(%PYSELF), "__style__", %PYARG_0); + Shiboken::Object::keepReference(reinterpret_cast<SbkObject*>(%PYSELF), "__style__", %PYARG_0); } } </inject-code> @@ -3586,7 +3586,7 @@ QWidget* tab = %CPPSELF.widget(%1); if (tab) { Shiboken::AutoDecRef pyWidget(%CONVERTTOPYTHON[QWidget*](tab)); - Shiboken::Wrapper::setParent(0, pyWidget); + Shiboken::Object::setParent(0, pyWidget); %CPPSELF.%FUNCTION_NAME(%1); } </inject-code> @@ -3595,7 +3595,7 @@ <inject-code class="target" position="beginning"> for (int i=0; i < %CPPSELF.count(); i++) { Shiboken::AutoDecRef pyWidget(%CONVERTTOPYTHON[QWidget*](%CPPSELF.widget(i))); - Shiboken::Wrapper::setParent(0, pyWidget); + Shiboken::Object::setParent(0, pyWidget); } %CPPSELF.%FUNCTION_NAME(); </inject-code> @@ -3853,7 +3853,7 @@ QStandardItem* _i = %CPPSELF->item(%1, %2); if (_i) { PyObject* _pyI = %CONVERTTOPYTHON[QStandardItem*](_i); - Shiboken::Wrapper::setParent(0, _pyI); + Shiboken::Object::setParent(0, _pyI); } </inject-code> <modify-argument index="3"> @@ -3866,7 +3866,7 @@ QStandardItem* _i = %CPPSELF->item(%1); if (_i) { PyObject* _pyI = %CONVERTTOPYTHON[QStandardItem*](_i); - Shiboken::Wrapper::setParent(0, _pyI); + Shiboken::Object::setParent(0, _pyI); } </inject-code> <modify-argument index="2"> @@ -3885,7 +3885,7 @@ QStandardItem* _i = %CPPSELF->verticalHeaderItem(%1); if (_i) { PyObject* _pyI = %CONVERTTOPYTHON[QStandardItem*](_i); - Shiboken::Wrapper::setParent(0, _pyI); + Shiboken::Object::setParent(0, _pyI); } </inject-code> <modify-argument index="2"> @@ -3935,7 +3935,7 @@ QList<QStandardItem *> ri = %CPPSELF.takeRow(0); PyObject *pyResult = %CONVERTTOPYTHON[QList<QStandardItem * >](ri); - Shiboken::Wrapper::setParent(Py_None, pyResult); + Shiboken::Object::setParent(Py_None, pyResult); Py_XDECREF(pyResult); } </inject-code> @@ -4554,7 +4554,7 @@ <!-- ownership control transfer to qApp --> <modify-function signature="setStyle(QStyle*)"> <inject-code class="target" position="end"> - Shiboken::Wrapper::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_1); + Shiboken::Object::setParent(%CONVERTTOPYTHON[QApplication*](qApp), %PYARG_1); </inject-code> </modify-function> <modify-function signature="style()"> |