diff options
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets')
-rw-r--r-- | sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml index d0c4877f2..60bb24335 100644 --- a/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml +++ b/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml @@ -215,7 +215,7 @@ <add-function signature="__next__()" return-type="PyObject*"> <inject-code class="target" position="beginning"> if (**%CPPSELF) { - QTreeWidgetItemIterator* %0 = new QTreeWidgetItemIterator((*%CPPSELF)++); + QTreeWidgetItemIterator *%0 = new QTreeWidgetItemIterator((*%CPPSELF)++); %PYARG_0 = %CONVERTTOPYTHON[QTreeWidgetItemIterator*](%0); } </inject-code> @@ -223,7 +223,7 @@ <add-function signature="value()" return-type="QTreeWidgetItem*"> <inject-code> - QTreeWidgetItem* %0 = %CPPSELF.operator*(); + QTreeWidgetItem *%0 = %CPPSELF.operator*(); %PYARG_0 = %CONVERTTOPYTHON[QTreeWidgetItem*](%0); Shiboken::Object::releaseOwnership(%PYARG_0); </inject-code> @@ -267,7 +267,7 @@ <enum-type name="GraphicsItemFlag" flags="GraphicsItemFlags"/> <enum-type name="PanelModality" since="4.6"/> <inject-code class="target" position="end"> - PyObject* userTypeConstant = PyInt_FromLong(QGraphicsItem::UserType); + PyObject *userTypeConstant = PyInt_FromLong(QGraphicsItem::UserType); PyDict_SetItemString(Sbk_QGraphicsItem_Type.super.ht_type.tp_dict, "UserType", userTypeConstant); </inject-code> <modify-function signature="setParentItem(QGraphicsItem *)"> @@ -277,7 +277,7 @@ </modify-function> <template name="scene_return_parenting"> if (%0) { - QObject* parent = %0->parent(); + QObject *parent = %0->parent(); Shiboken::AutoDecRef pyParent(%CONVERTTOPYTHON[QObject*](parent)); Shiboken::Object::setParent(pyParent, %PYARG_0); } @@ -2992,7 +2992,7 @@ </modify-argument> <inject-code> - QAction* action = %CPPSELF.addAction(%1, %2); + QAction *action = %CPPSELF.addAction(%1, %2); %PYARG_0 = %CONVERTTOPYTHON[QAction*](action); Shiboken::AutoDecRef result(PyObject_CallMethod(%PYARG_0, "connect", "OsO", %PYARG_0, SIGNAL(triggered()), %PYARG_3)); </inject-code> @@ -3008,7 +3008,7 @@ <parent index="this" action="add"/> </modify-argument> <inject-code> - QAction* action = %CPPSELF.addAction(%1); + QAction *action = %CPPSELF.addAction(%1); %PYARG_0 = %CONVERTTOPYTHON[QAction*](action); Shiboken::AutoDecRef result(PyObject_CallMethod(%PYARG_0, "connect", "OsO", %PYARG_0, SIGNAL(triggered()), %PYARG_2)); </inject-code> |